Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Provide default GC settings to prevent unreasonable memory usage #1091

Open
JanecekPetr opened this issue Jan 4, 2024 · 0 comments

Comments

@JanecekPetr
Copy link

Description

On my Mac (with 32 GB of available RAM) a long-running muCommander often takes around 6 GB of memory, according to the Activity Monitor app. I seem to remember that the default Xmx in Java is 1/4 of all the RAM, and muCommander sometimes hits that.

I can (and just did) set my own Xmx in muCommander.cfg, however it would be nice if there was a reasonable default, say -Xmx1G or -Xmx2G? Or maybe we could keep the default, but set -XX:G1PeriodicGCInterval instead to force muCommander to give some of the claimed memory back if idle.

@JanecekPetr JanecekPetr changed the title [Enhancement] Provide a reasonable default Xmx setting [Enhancement] Provide default GC settings to prevent unreasonable memory usage Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant