Edit report at https://bugs.php.net/bug.php?id=48809&edit=1
ID: 48809 Comment by: hawkdoom at mail dot ru Reported by: ibboard at gmail dot com Summary: "virtual memory exhausted: Cannot allocate memory" with libmagic/apprentice.c Status: Wont fix Type: Bug Package: Compile Failure Operating System: CentOS 4 PHP Version: 5.3.0 Block user comment: N Private report: N New Comment: ÐÑоблема оÑобенно Ñилно пÑоÑвлÑеÑÑÑ Ð½Ð° вÑделеннÑÑ ÑеÑвеÑÐ°Ñ Ñ Ð¾Ð±Ñезанием опеÑаÑÐ¸Ð²Ñ Ð² ÑаÑиÑе, Ñа попÑобÑÑ ÑеÑение пÑедÑдÑÑего авÑоÑа Previous Comments: ------------------------------------------------------------------------ [2010-11-16 08:52:48] info at fedushin dot ru Adding --disable-fileinfo to ./configure solves the problem. ------------------------------------------------------------------------ [2010-06-21 22:32:46] mackeul at gmail dot com Ran into the same problem with GCC 3.4.5 on a "2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux" machine with 256MB of memory. ------------------------------------------------------------------------ [2009-07-05 22:49:48] scott...@php.net What version of gcc were you using? It would be nice to track this where possible. ------------------------------------------------------------------------ [2009-07-05 22:46:07] scott...@php.net What version of gcc were you using? It would be nice to track this where possible. ------------------------------------------------------------------------ [2009-07-05 21:48:32] ras...@php.net It is probably up in the 600-700M range. If you are using an older toolchain in a severely memory-starved environment, you shouldn't expect to be able to compile everything there. Why not simply cross-compile from a real dev box somewhere and copy the binaries over? You can install your production OS in a vm slice on whatever home machine you have and compile there. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=48809 -- Edit this bug report at https://bugs.php.net/bug.php?id=48809&edit=1