PJA Toolkit forum
This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents.
If you want to write a message or answer to a subject, subscribe to
|Messages of subject
Memory Leak? java.lang.OutOfMemoryError can not create new native thread.
Location : Tokyo, Japan
Member since : Mar 8, 2005
Messages : 2
| Mar 8, 2005 at 10:12 AM
Im using PJA under X11 & weblogic jdk18.104.22.168.
the app using PJA seems to eat up all the memory after having run severals hours under a moderate access rate.
i noticed the native java process had used up nearly 2G memory when awt(PJA) calls finally began to crash & throw java.lang.OutOfMemoryError.
iv read a similar post:Memory Usage Problem(by Mr.LK):
> Using PJA under Linux and weblogic in a clustered environment.
> Graphs / images working fine, but am noticing a gradual rise in Memory usage on the server. This continues to grow and can only be reduced with a forced Garbage Collection.
> Has anybody had similar problems ?
but im not sure yet a forced gc call will work...(from weblogic jmx?)
my hp-ux has a max_thread_proc of 4098 & 4G mem & a large swap;
the JVM has a 1G java heap.
il b grateful if anyone has a solution.