Posted By:
Sudhakar_S
Posted On:
Sunday, January 6, 2002 06:37 AM
In my Swing application,i populate data on a frame and display it.When i open the 4th frame keeping other 3 opened,i get a memory error.Then i tried opening the frames by closing each frame once it is opened.Even then i am getting the same problem with 4th one.I added some " System.gc() " statement and tried the same,still it is not working. FYI - The Frames are not numbered and are also not opened in the same sequence.The RAM size is 256 Mb and memory assigned for java application using -mx option is 64Mb.The error message is Exception occurred during event dispatching: java.lang.OutOfMemoryError Stack trace not available. Hope someone could get me a solution. - Thanks in
More>>
In my Swing application,i populate data on a frame and display it.When i open the 4th frame keeping other 3 opened,i get a memory error.Then i tried opening the frames by closing each frame once it is opened.Even then i am getting the same problem with 4th one.I added some " System.gc() " statement and tried the same,still it is not working.
FYI - The Frames are not numbered and are also not opened in the same sequence.The RAM size is 256 Mb and memory assigned for java application using -mx option is 64Mb.The error message is
Exception occurred during event dispatching:
java.lang.OutOfMemoryError
Stack trace not available.
Hope someone could get me a solution.
- Thanks in advance.
<<Less