The Artima Developer Community
Sponsored Link

Legacy Design Forum
Finalization and Cleanup

Advertisement

Advertisement

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:

Out of Memory exception : invalid peer while running applet in Netscape

Posted by Kedar Nirokhekar on August 17, 2001 at 9:44 AM

Hello,
We have facing the problem of out of memory, invalid peer.
We are having an applet which contains number of panels and Images,canvas.The applet is loading on winNT on IE as well as Netscape.But on Win95 and 98 in Netscape its giving the above mentione error.The same applet gets loaded properly in Internet explorer.Can any body give me the reason or solution.
Thanking in advance.

Kedar Nirokhekar
Focus software India pvt ltd.

> Hi Basu,

> I found this search from 'google.com' site.

> I am in Thames Water group in hyderabad. I also got similar problem like u had.Through IDL in CORBA, we get data into client side and front end is in Java Swings. I am unable to find out where exactly this happens. This is happening ramdomly. Did you solve this problem?. If so, please provide me the solution.
> i shall be grateful to you.

> hoping for the prompt reply,

> Regards
> Satyamurthy K,
> Systems Manager,
> Wipro Technologies,
> Hyderabad.
>

>
> > Hello Everybody,
> > We are facing a problem of java.lang.OutOfMemory Exception.
> > It happens when we are continuously creating and storing object
> > in database(ObjectStore). Both our server and client are in java.
> > And the server is distributed and is exposed to the client through
> > an idl implemented in CORBA(OrbixWeb 3.0).
> > We are releasing references whereever needed.
> > And also calling runFinalizersOnExit(true).
> > Also, the error does not come when continuously large
> > objects(containing embedded objects) is stored in the same database
> > with objects formed only through jdk.
> > Any suggestions for the problem/where to look for the solution?
> > Is explicit running of garbage collector recommended(since the
> > article says that the design should not be such that it should
> > depend on the frequency at which the garbage collector runs)? If
> > explicitly run,can the running of java gc be speeded up?(i.e.,
> > can we decrease the interval at which it searches as to what to
> > garbage collect).






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us