Ask a Question related to PHP Development, Design and Development.
-
Alan Knowles #1
[PHP-DEV] ZEND_DISABLE_MEMORY_CACHE=0 problematic on large arrays
[url]http://cvs.php.net/diff.php/ZendEngine2/zend_alloc.c?r1=1.118&r2=1.119&ty=h&num=10[/url]
" - Add heap to memory manager. This should improve performance.
- Enabling it by default so that it gets tested. We should decide before
beta 2 if we want to revert back to malloc or not."
Well, it's got some testing today.. - and it didnt do too well..
I'm testing by using the php-gtk generator.php (that parses the gtk.defs
scheme file into a (huge) php array.
a default php5 checkout. build on a P800 timesout after parsing about
12000 lines in 300 seconds.
when I revert the change:
#define ZEND_DISABLE_MEMORY_CACHE 1
It parses and builds the file ok.. in < 100seconds..
Regards
Alan
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Alan Knowles Guest
-
#40720 [NEW]: Huge arrays cause large memory usage in Ubuntu, but not Windows
From: soadlink at gmail dot com Operating system: Ubuntu 6.10 PHP version: 5.2.1 PHP Bug Type: Performance problem Bug... -
Conversion from 1.5 to 2.0 problematic
I'm having trouble converting documents from InDesign 1.5 to 2.0 -- during the "Open Document" phase, the "converting data" bar gets to about 35% and... -
output large arrays to html
Hello, I'm looking for ways to 'echo' a single large associative array repeatedly w/ as little overhead as possible. I'm developing a simple... -
Fwd: [PHP-DEV] ZEND_DISABLE_MEMORY_CACHE=0 problematic on
FYI, this should be fixed now. If anyone still bumps into weird performance problems relating to the memory manager please let me know. Andi ... -
Large Arrays of Strings
Hello, I was wondering what the best data structure is to hold a large list of strings? Currently I am using the ArrayList, which seems to be...



Reply With Quote

