Open rishabhpoddar opened 3 years ago
I would love to take this issue and work on it. This will be very useful for devices such as raspbery pi, allowing better memory management.
Hey @C-mmon. Thanks for showing interest. The idea here is to be able to start the core in a way that limits the memory consumption.
The config to provide a ceiling value for memory can be provided in the config.yaml file, or in the CLI command line that starts the java process. What do you think?
Yes, I will try to determine range that will allow it to work perfectly. Like determining the initial value. As well as document the whole thing, with correct notation.
Sounds good! Thank you. I'll assign this issue to you.
Add the -Xmx option that limits the maximum heap size for the jvm.
Quick overview: https://alvinalexander.com/blog/post/java/java-xmx-xms-memory-heap-size-control/