|
Re: Java Heap Space and RAP [message #650119 is a reply to message #650033] |
Fri, 21 January 2011 19:20 |
|
Hi Tobias,
if you suspect your application to leak memory, you should first analyze
it with a suitable tool. I can recommend VisualVM, a simple tool shipped
with the Hotspot JVM, that let's you connect to your running VM, create
and analyze heap dumps. For advanced heap dump analysis, you can also try
the Eclipse Memory Analyzer (MAT).
When you find objects that should have been garbage collected already,
check which other objects are still referencing them. Trying to fix a
memory leak without exactly understanding it will most likely not work.
Hope this helps, Ralf
--
Ralf Sternberg
Twitter: @ralfstx
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.02174 seconds