Spring ApplicationContext taking up grotesque amounts of memory
-
12-09-2019 - |
Question
I have numerous Spring Framework-based applications that run on a Tomcat 5.5 server. Some of them have their own instances, some share a server with other applications. The one thing they all have in common is that they require huge amounts of memory, more than I think they should really require. Are there any tools out there for profiling Tomcat servers ?
To further elaborate, these run on Ubuntu 9.04, fully patched, with access to 3 GB of memory (about half of which it actually takes up).
OTHER TIPS
There's a fair few Java profiling tools:
You just need to attach the profiler to the JVM on startup.
You could also take a look at Lamba probe, but it's more for monitoring:
http://www.lambdaprobe.org/d/index.htm
Also take a look at: