ID: 24148 Updated by: [EMAIL PROTECTED] Reported By: ardo at np dot ee -Status: Open +Status: Feedback Bug Type: Java related Operating System: Windows 2000 PHP Version: 4.3.2 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [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
