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
Posted by Morten Biehl Christiansen on January 23, 2001 at 4:40 AM
Did anyone come up with a solution for this problem???
> 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).