From:             [EMAIL PROTECTED]
Operating system: Linux RH 6.1
PHP version:      4.0 Latest CVS (09/03/2001)
PHP Bug Type:     Unknown/Other Function
Bug description:  sapi servlet excessive memory usage.

The sapi servlet seems to be using a large amount of memory within the JVM. After a 
few 100 accesses the memory usage of the JVM increased significantly. The memory 
footprint of the  process increased alot and the memory usage as reported from the 
Runtime.totalMemory() function increased as well. This memory was not recoverable by 
the garbage collector.

I wonder if the JNI code is failing to release global references it has created?


./configure --with-java --with-servlet

Sun JVM (also happens with IBM JVM).
Java version "1.3.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to