Re: [PHP4BETA] make out of memory ?
| From: | Jacques Kirsch | Date: | Wed, 09 Feb 2000 13:47:01 +0000 |
| Subject: | Re: [PHP4BETA] make out of memory ? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9979@lists.php.net to get a copy of this message | ||
Ben-Nes Michael wrote:
>
> I done
>
> ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
> --with-xml --enable-trans-sid --enable-track-vars
>
> /bin/sh ./libtool --silent --mode=compile gcc -D HAVE_CONFIG_H -I.
> -I/home/miki/apache/php-4.0b3/./libzend -I. -g -O2 -g -c -o
> zend_execute.lo
> zend_execute.czend_execute.c: In function 'execute':
> zend_execute.c:2118: virtual memory exhausted
> make[2]: *** [zend_execute.lo] Error 1
>
> Any Ideas ?
Hello,
Had exactly the same problem. At that time I had 32 MB RAM plus
64 MB SWAP (total 96 MB on linux). Then I upgraded to 64+128 MB
and now everything works fine. According to top the total memory
usage on my machine went up to +- 117 MB during compilation.
Never tried to reduce memory usage, may be removing the -g and
the -O2 may help.
Jacques