Edit report at http://bugs.php.net/bug.php?id=54237&edit=1
ID: 54237 Updated by: [email protected] Reported by: jsakk at mailmetrash dot com Summary: Fatal error: Out of memory Status: To be documented Type: Bug Package: Unknown/Other Function Operating System: Windows 2008 64bit PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: I don't think it is a Windows problem but a 32bit vs 64bit one. Rasmus, I suppose your boxes are 64bit right? Previous Comments: ------------------------------------------------------------------------ [2011-03-12 19:58:13] jsakk at mailmetrash dot com thank you rasmus! Hopefully someone who does Windows will take a look :) ------------------------------------------------------------------------ [2011-03-12 19:55:31] [email protected] That's what I meant. And I don't do Windows. ------------------------------------------------------------------------ [2011-03-12 19:54:20] jsakk at mailmetrash dot com rasmus thanks for the quick reply. How can you be sure it's a Windows problem? If I re-write the same code in C and it has no problem allocating all the RAM. Perhaps it's a PHP problem on Windows? ------------------------------------------------------------------------ [2011-03-12 19:46:18] [email protected] Seems like a Windows-specific issue then. No such problems on Linux/FreeBSD. ------------------------------------------------------------------------ [2011-03-12 19:42:35] jsakk at mailmetrash dot com If I set memory_limit = 0 I get "Could not Start" so I believe -1 is correct as per the php documentation. That said. Even if i set it to memory_limit = 5G I get the same results with it stopping @ approx 1901MB ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=54237 -- Edit this bug report at http://bugs.php.net/bug.php?id=54237&edit=1
