|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-06-06 10:18 UTC] philip at roshambo dot org
[2008-06-07 03:18 UTC] daniel dot oconnor at gmail dot com
[2008-06-08 09:00 UTC] pierre dot php at gmail dot com
[2008-06-10 20:01 UTC] philip at roshambo dot org
[2008-06-11 03:07 UTC] roeifu at gmx dot ch
[2008-08-13 04:31 UTC] pierre dot php at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 00: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.