php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9660 sapi servlet excessive memory usage.
Submitted: 2001-03-09 12:49 UTC Modified: 2002-03-29 00:00 UTC
From: alt at gimp dot org Assigned:
Status: No Feedback Package: Java related
PHP Version: 4.0 Latest CVS ( OS: Linux RH 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alt at gimp dot org
New email:
PHP Version: OS:

 

 [2001-03-09 12:49 UTC] alt at gimp dot 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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 06:06 UTC] yohgaki@php.net
Please test with  PHP 4.1.1+JDK 1.2 and report the result back Thanks.
 [2002-03-29 00:00 UTC] php-bugs at lists dot php dot net
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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC