Ananth, 03.03.2008 13:38:
There are two possible reasons:
1) you have a memory leak in your program (i.e. objects that are still referenced but no longer needed, so they cannot be garbage collected)
2) your program simply needs that much memory. Either you algorithm requires to hold that much data in memory, then you are out of luck, or you can rewrite the algorithm (e.g. not reading all 10 million rows from the database table or a 500MB XML file into a DOM tree or whatever you are doing there)
Thomas
Hi
The simple way to get out of this situation is to follow the following
give step
1) Increase the size of Heap Space, as you have already said that you
had increased the size to 1024MB as per my knowledge it is more than
enough.
2) Please look up your code especially by using some external IDE i.e.
Eclipse, Weblogic IDE this type of tool gives you at the coding level
only the object which are created but not used in the class, so that
you can remove.
3) If possible try to run system.gc() (Not much sure, but still can't
say anything this might be helpful to you tooo.)
4) If required please see the performace graph using some tool like,
JProbe etc which will give you the memory leackage point in your
application
Regards
Siddharatha Dhumale