#43058 [NEW]: Fatal error: Out of memory
| From: | alexandrusavin at gmail dot com | Date: | Sun, 21 Oct 2007 10:50:10 +0000 |
| Subject: | #43058 [NEW]: Fatal error: Out of memory | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-118777@lists.php.net to get a copy of this message | ||
From: alexandrusavin at gmail dot com
Operating system: Windows Server 2003 Standard Edi
PHP version: 5.2.4
PHP Bug Type: Unknown/Other Function
Bug description: Fatal error: Out of memory
Description:
------------
Hello!
I've moved all my applications from one server to another. The former
server's configuration was PHP v5.0.2/Apache v2.0/Windows Server 2000 and
now is PHP v5.2.4/IIS6/Windows Server 2003.
Every think else is working properly besides the printing function. When I
try to print something with the php_print.dll functions this error
appears:
Fatal error: Out of memory (allocated 524288) (tried to allocate
4294967295 bytes) in D:\WWWSites\helpu2\reports\nir.php on line 62
This worked perfectly on the previous server.
Reproduce code:
---------------
$p = printer_open('\\ICT4\HPDeskje');// at this line the error appears
printer_start_doc($p, "stock");
printer_start_page($p);
Expected result:
----------------
I would expect a page to be printed.
Actual result:
--------------
Fatal error: Out of memory (allocated 524288) (tried to allocate
4294967295 bytes) in D:\WWWSites\helpu2\reports\nir.php on line 62
--
Edit bug report at http://bugs.php.net/?id=43058&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43058&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43058&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43058&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43058&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43058&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43058&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43058&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43058&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43058&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43058&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43058&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43058&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43058&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43058&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43058&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43058&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43058&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43058&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43058&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43058&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43058&r=mysqlcfg