chunky
chunky copied to clipboard
Use the available physical memory as upper memory limit for the slider in the launcher.
This should help with questions like this: https://old.reddit.com/r/chunky/comments/wjezxv/anyway_to_allow_chunky_to_use_more_then_16gb_of/
On Discord, it was suggested to change the slider to keep a bit of memory. We could either limit it to some percentage or to X% of free ram at the time of starting. Just to make sure that people don't run OOM by sliding it all the way to the right.
On Discord, it was suggested to change the slider to keep a bit of memory. We could either limit it to some percentage or to X% of free ram at the time of starting. Just to make sure that people don't run OOM by sliding it all the way to the right.
I'd assume that this should not be a problem for modern systems - When Java requests all system memory, the OS might assign it as virtual memory and page it out as needed, otherwise the JVM should terminate either way if allocation from system fails. (This feature is probably mostly relevant for power users, which want to manage their system resources without restrictions.)