Update Svc/StaticMemory to have configurable memory by instance #1285
timcanham
announced in
Call for Comments
Replies: 1 comment
-
|
This seems to me to be a good idea. It would leave more configurability to the user. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Svc/StaticMemorycurrently has a configuration variableSTATIC_MEMORY_ALLOCATION_SIZEthat sets the size of the buffer. It can be done per deployment by setting that variable inStaticMemoryConfig.hpp, but the component would be generally more useful if each instance could be configured to have its own size. Recommendation would be to have aninitialize(Fw::MemAllocator alloctorpublic function that could delegate to the user how to allocate memory, but useFw::MallocAllocatorinRefas an example.Beta Was this translation helpful? Give feedback.
All reactions