|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-06-06 11:16 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 23 11:00:02 2025 UTC |
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.