FATAL: erealloc(): Unable to allocate -131072 bytes

From: Date: Wed, 21 Jul 1999 05:48:33 +0000
Subject: FATAL: erealloc(): Unable to allocate -131072 bytes
References: 1 2 3 4  Groups: php.version4 
Request: Send a blank email to php-version4+get-2391@lists.php.net to get a copy of this message
Hello All, I have a php script that uses exec() and several string and regex functions in a loop. A database is queried and the output is captured in an array with exec(). Then several string functions are used for line wrapping (adding a '\n') and the output is printed on the screen. After displaying 449 stories, I get the error: FATAL: erealloc(): Unable to allocate -131072 bytes Segmentation Fault - core dumped I can supply a backtrace of this if someone simply tells me how to do it :) OS is Solaris 2.6 running on a Sun Enterprise 450, 1Gb ram. -Buddy

« previous php.version4 (#2391) next »