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
-
Svc/StaticMemory
currently has a configuration variableSTATIC_MEMORY_ALLOCATION_SIZE
that 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 alloctor
public function that could delegate to the user how to allocate memory, but useFw::MallocAllocator
inRef
as an example.Beta Was this translation helpful? Give feedback.
All reactions