Reputation: 669
I'm working on a Java Webapp that's running on a 1GB memory server with Tomcat.
Lately we've noticed that the app is eating up most of the memory on that server - around 83%.
I have profiled the App using VisualVM on my personal machine with a lot more RAM.
VisualVM is showing roughly 400MB Used Heap Space, and up to 1.4GB allocated Heap space.
Setting -Xmx512m allows me to lower the allocated heap space without any significant impact on sites performance.
A few questions:
Upvotes: 1
Views: 1759
Reputation: 1065
Answering your questions in order.
Upvotes: 3