Reputation: 5217
When I'm developing my project I have 3+ jvm instances running.
With firefox open for a few days I get pretty close to maxing out my 8gb of ram. How can I reduce memory consumption?
Upvotes: 5
Views: 480
Reputation: 49
while invoking the JVM, you could set the maximum size to be used
e.g -Xmx1024m -Xms1024m would use only 1GB of ram
Hope it helps regards
Upvotes: 3