Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Java Heap Space and RAP(Java Heap Space and RAP)
Java Heap Space and RAP [message #650033] Fri, 21 January 2011 14:09 Go to next message
Tobias Semmet is currently offline Tobias SemmetFriend
Messages: 37
Registered: July 2009

i have big problems with my Java Heap Space and my RAP Application. The Heap Space grows on each click. Is there a chance to free memory. I set erery widget a user need in a self implemented session. The session are in a ArrayList. If the user is inactive for more than 30 minutes i remove the session from the session ArrayList. But there is no positive memory effect.

Thank for your help
Re: Java Heap Space and RAP [message #650119 is a reply to message #650033] Fri, 21 January 2011 19:20 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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

Professional services for RAP and RCP?
Previous Topic:Table Item Height
Next Topic:Table V_SCROLL Issue
Goto Forum:

Current Time: Sun Oct 24 01:27:44 GMT 2021

Powered by FUDForum. Page generated in 0.02639 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top