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

From: Date: Fri, 06 Jun 2008 11:34:50 +0000
Subject: Bug #14093 [NEW]: Memory lost after print (php_printer.dll)
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-6222@lists.php.net to get a copy of this message
From: roeifu at gmx dot ch Operating system: Windows XP Package version: PHP version: 5.2.2 Package: Bug System Bug Type: Bug Bug description: Memory lost after print (php_printer.dll) 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 bug report at http://pecl.php.net/bugs/bug.php?id=14093&edit=1 --

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