#24148 [NoF->Opn]: increasing memory usage

From: Date: Tue, 19 Aug 2003 06:21:07 +0000
Subject: #24148 [NoF->Opn]: increasing memory usage
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46171@lists.php.net to get a copy of this message
ID: 24148 User updated by: ardo at np dot ee Reported By: ardo at np dot ee -Status: No Feedback +Status: Open Bug Type: Java related Operating System: Windows 2000 -PHP Version: 4.3.2 +PHP Version: PHP 4.3.3RC5-dev (cgi-fcgi) (built: Aug 19 2003 06:14:12) New Comment: Tried the snapshot, but at least the cgi version still has the same problem. Previous Comments: ------------------------------------------------------------------------ [2003-08-18 19:43:51] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-08-14 00:38:39] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-06-12 08:39:40] ardo at np dot ee Description: ------------ When using Java extension PHP seems to increase memory usage constantly. When I used a very simple example, Windows Task Manager showd that memory usage of php.exe constantly increased. When using infinite loop I finally got java.lang.OutOfMemoryError. Reproduce code: --------------- $formatter = new Java('java.text.SimpleDateFormat', "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz"); $date = new Java('java.util.Date'); while(1) { $formatter->format($date); } Expected result: ---------------- Should be just infinite loop. Actual result: -------------- java.lang.OutOfMemoryError ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24148&edit=1

« previous php.bugs (#46171) next »