Bug #9660 Updated: sapi servlet excessive memory usage.

From: Date: Fri, 29 Mar 2002 05:00:04 +0000
Subject: Bug #9660 Updated: sapi servlet excessive memory usage.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3585@lists.php.net to get a copy of this message
ID: 9660 Updated by: php-bugs@lists.php.net Reported By: alt@gimp.org -Status: Feedback +Status: No Feedback Bug Type: Java related Operating System: Linux RH 6.1 PHP Version: 4.0 Latest CVS ( New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-02-24 06:06:24] yohgaki@php.net Please test with PHP 4.1.1+JDK 1.2 and report the result back Thanks. ------------------------------------------------------------------------ [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

« previous php.bugs (#3585) next »