This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
please send test code
Posted by pradeep on November 13, 2001 at 3:39 PM
> Hi pradeep, > sorry if im getting to u late, but i have similar problems, i want to develop a gui which has to be put on the web....and this page has to create multiple clild windows using ice browser... > how can i incorporate that....any replies would be greatly appreciated.... > Thanks > suresh > > > We have developed an MDI application using Swing.This app > > > contains child windows(JInternalFrames) and dialogs(which are > > > also designed as JInternalFrames).Upon bringing such JInternalFrames > > > 15-20 times in a 64MB system(WIN - 95) the Application throws > > > OutOfMemoryError.And after sometime the whole app goes for a toss. > > > I believe the JVM before throwing an OutOfMemoryError should run the > > > GC and any unreferenced object on the heap should be GC'ed.Let me > > > tell you here that our reference to these JInternalFrames are made > > > null after these windows are closed.
> > > I suspect some of the AWT & Swing classes might be keeping > > > reference to this objects which they never seem to release. > > > I would request you all to reply soon if you have any idea > > > why this is happening? If u want I can provide you with test codes. > > > Thanks in advance > > > Pradeep
Replies:
|