Bug #14093 [Opn]: Memory lost after print (php_printer.dll)
| From: | philip at roshambo dot org | Date: | Fri, 06 Jun 2008 14:18:58 +0000 |
| Subject: | Bug #14093 [Opn]: Memory lost after print (php_printer.dll) | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-6223@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
Updated by: philip@roshambo.org
Reported By: roeifu at gmx dot ch
Status: Open
Id: 14093
Type: Bug
Package: Bug System
Operating System: Windows XP
PHP Version: 5.2.2
New Comment:
I suppose this is a "bug system" bug until the bug system has the
printer extension. :)
Previous Comments:
------------------------------------------------------------------------
[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