Compiling and Memory Limits

From: Date: Mon, 23 Oct 2006 13:34:49 +0000
Subject: Compiling and Memory Limits
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3482@lists.php.net to get a copy of this message
Apparently PHP-GTK 2 doesn't like compiling if memory_limit is enabled in PHP. The generator scripts use up a lot of memory. Is there any way around this other than messing with php.ini before and after compiling? Thanks, Scott Parsing file "ext/gtk+/gtk-extrafuncs.defs". Parsing file "ext/gtk+/gtk-types.defs". Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1293507 bytes) in /usr/local/src/php/php-gtk/generator/scheme.php on line 191 Call Stack:
    0.0063     786432   1. {main}() /usr/local/src/php/php-gtk/generator/generator.php:0
    2.1371    8650752   2. Defs_Parser->start_parsing() /usr/local/src/php/php-gtk/generator/generator.php:1450
    2.9183   13107200   3. Defs_Parser->serialize() /usr/local/src/php/php-gtk/generator/scheme.php:183
    2.9183   13107200   4. serialize() /usr/local/src/php/php-gtk/generator/scheme.php:191
make: *** [ext/gtk+/gen_gtk.c] Error 255

« previous php.gtk.dev (#3482) next »