Bug #9660 Updated: sapi servlet excessive memory usage.
| From: | yohgaki@php.net | Date: | Sun, 24 Feb 2002 11:06:24 +0000 |
| Subject: | Bug #9660 Updated: sapi servlet excessive memory usage. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-903@lists.php.net to get a copy of this message | ||
ID: 9660
Updated by: yohgaki@php.net
Reported By: alt@gimp.org
-Status: Open
+Status: Feedback
Bug Type: Java related
Operating System: Linux RH 6.1
-PHP Version: 4.0 Latest CVS (09/03/2001)
+PHP Version: 4.0 Latest CVS (
New Comment:
Please test with PHP 4.1.1+JDK 1.2 and report the result back Thanks.
Previous Comments:
------------------------------------------------------------------------
[2001-03-09 12:49:13] alt@gimp.org
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?
Configuration:-
./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 this bug report at http://bugs.php.net/?id=9660&edit=1