Re: [PHP4BETA] Compiling zend_execute.c takes long time and lots of memory
| From: | Teodor Cimpoesu | Date: | Sat, 06 Nov 1999 17:02:21 +0000 |
| Subject: | Re: [PHP4BETA] Compiling zend_execute.c takes long time and lots of memory | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5922@lists.php.net to get a copy of this message | ||
Yusuf Goolamabbas wrote:
>
> Hi, I just got a fresh CVS tree of PHP4 and used the following configure
> command. I have a P-II 400 with 128MB RAM running RH 6.0/Linux 2.2.12
>
> ./configure --with-apache=../apache_1.3.9 \
> --with-mysql=/usr/local/site/mysql --enable-track-vars \
> -enable-magic-quotes --with-db2=/usr/local/site/BerkeleyDB \
> --with-config-file-path=/usr/local/site/ \
> --with-ldap=/usr/local/site/ldap \
> --with-gnu-ld --disable-debug
>
> Compiling zend_execute takes a long time and if I have netscape running,
> I get an error message saying "virtual memory exhausted". Killing
> netscape and running make again makes it go through modulo the long
> compile time.
>
> Am I doing something wrong or is there some stange interaction with
> zend_execute.c and egcs 1.1.2. I am going to compile gcc-2.95.2 and see
> if I get similar results
hmm I have a Pentium 266 (over clk) w/ 64 RAM, having (in WindowMaker)
Netscape running nothing weird happens, just that everything gets very
slow.
(I guess because of massive swapping)
and on a AMD K6-2 350/64 zend_execute takes about 2-3 minutes and no
more.
BTW, Sasha said to --disable-inline so my question (guess) is : are
there
too many inline functions that makes gcc to eat so much memory?
I am just curious :)
--
CIMPOESU Teodor, Web Programmer
@ DIGICOM S.A. Bucharest, Romania
@ Internet, site development
@ teo@digiro.net,+(401)-330.47.28
official home page ~ http://www.digiro.net/
Internet web page ~ http://internet.digiro.net/