Bug #14093 [Sus]: Memory lost after print (php_printer.dll)

From: Date: Wed, 11 Jun 2008 07:07:44 +0000
Subject: Bug #14093 [Sus]: Memory lost after print (php_printer.dll)
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-6230@lists.php.net to get a copy of this message
Edit report at http://pecl.php.net/bugs/bug.php?id=14093&edit=1 ID: 14093 User updated by: roeifu at gmx dot ch Reported By: roeifu at gmx dot ch Status: Suspended Id: 14093 Type: Bug Package: Bug System Operating System: Windows XP PHP Version: 5.2.2 New Comment: thats a pitty. My workaround for now is to restart the apache server graceful after every 500prints. This solution works pritty fine for me. Previous Comments: ------------------------------------------------------------------------ [2008-06-10 20:01:10] philip at roshambo dot org Unfortunately this bug will likely be forgotten forever... However, a bug report now exists about the problem with this bug tracker. http://pecl.php.net/bugs/bug.php?id=14120 Marking this bug report as "suspended" until #14120 is solved. ------------------------------------------------------------------------ [2008-06-08 09:00:52] pierre dot php at gmail dot com Well, there is no release, the package is yet orphaned. I will ask Frank if he has any plan to maintain it. > I think you want http://bugs.php.net/ No as it is not a php core extension anymore but a PECL extension. ------------------------------------------------------------------------ [2008-06-07 03:18:44] daniel dot oconnor at gmail dot com I think you want http://bugs.php.net/ :) ------------------------------------------------------------------------ [2008-06-06 10:18:57] philip at roshambo dot org I suppose this is a "bug system" bug until the bug system has the printer extension. :) ------------------------------------------------------------------------ [2008-06-06 07:34:50] roeifu at gmx dot ch Description: ------------ I've written a PHP Script, which prints Bills automatically. Now for each printed Site there will be about 120kb lost. This memory is now on the apache.exe process. If i paint serveral 100 Sites, this a huge prolem. The Server will be out of Memory. The right Script is different I've cutted it down to the necessary code. Reproduce code: --------------- <?php $handle = printer_open("PrinternameOrAddress"); printer_start_doc($handle, "PrintTitle"); printer_write($handle, "test"); printer_end_doc($handle); printer_close($handle); ?> Expected result: ---------------- Page is printed and memory is free after it. Actual result: -------------- Page is printed but the apache.exe needs more memory for each page. ------------------------------------------------------------------------ -- Edit this bug report at http://pecl.php.net/bugs/bug.php?id=14093&edit=1

« previous php.pear.webmaster (#6230) next »