Page 1 of 1
yy_create_buffer??
Posted: Mon Aug 08, 2005 5:48 pm
by nielsene
Anyone have a clue over what would cuase this error message:
Code: Select all
Fatal error: out of dynamic memory in yy_create_buffer() in /usr/local/CIB/main-dev/compinabox/include/paths.inc on line 29
Line 29 is an include. The rest of the file is 5 simple string assignments. It doesn't happen every time, but often enough.
Posted: Tue Aug 09, 2005 3:55 am
by onion2k
yy_create_buffer() is a function inside of PHP itself that is used when PHP scans the php.ini file when a script is run. It's not finding enough memory to do it's stuff. If something is hogging all the RAM on the server this sort of thing happens. There's nothing you can do to the script itself to stop it, the server needs tweaking.
Posted: Tue Aug 09, 2005 9:24 am
by nielsene
Hmmm with ~2GB RAM free it seems odd that it can't find any free space. Restarting apache makes the problem go away for a while, but it comes back. Seems like some sort of memory leak.... grrrr....
Posted: Tue Aug 09, 2005 10:43 am
by Ambush Commander
Hmmm.... Firefox?
Posted: Tue Aug 09, 2005 11:00 am
by onion2k
Ambush Commander wrote:Hmmm.... Firefox?
Why would that be running on a server? And what makes you think FF leaks memory?
Posted: Tue Aug 09, 2005 11:04 am
by Ambush Commander
Well, for the first question, my server is installed locally, makes things easy to test. Second question: Firefox is a real problem when it comes to memory leaks. Extended usage will have it gobble up 100+ mb of memory.
Posted: Tue Aug 09, 2005 11:08 am
by onion2k
Ambush Commander wrote:Well, for the first question, my server is installed locally, makes things easy to test.
Right, but nielsene's error message had "/usr/local/CIB/main-dev/compinabox/include/paths.inc" in it.. looks like a server to me. Although not definitely.
Second question: Firefox is a real problem when it comes to memory leaks. Extended usage will have it gobble up 100+ mb of memory.
Technically, using a lot of memory isn't the same as leaking it. But I see your point. FF is using 64meg here..
Posted: Tue Aug 09, 2005 12:11 pm
by nielsene
Yeah its definitly a server issue. (I'm also running safari not FF).
I'm trying to figure out where the memory leak could be occuring -- any PHP memory should be realized when the page terminiates....
Posted: Tue Aug 09, 2005 12:12 pm
by Ambush Commander
When in doubt, reboot.