Memory Error - Please Help!?!?!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
ForceBucks
Forum Newbie
Posts: 1
Joined: Wed Mar 05, 2008 4:41 pm

Memory Error - Please Help!?!?!

Post by ForceBucks »

Hey guys,

I run a site and I dont really know all that much about php but I am in a huge jam. The script I am using was actually purchased from a 3rd party but the guy tells me he doesnt know jack about my error. I am getting this error when I try and get into the admin portion of my site:

Fatal error: out of dynamic memory in yy_create_buffer() in /usr/local/lib/php/PEAR.php on line 570


My hosting company is HostGator and they are stumped. Everyone is stumped. Does anyone have any advice for me? Thanks!

Ryan
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Memory Error - Please Help!?!?!

Post by Chris Corbyn »

Out of dynamic memory?! Hmm... That's a new one. Does this script use any PHP extensions?
User avatar
Sekka
Forum Commoner
Posts: 91
Joined: Mon Feb 18, 2008 10:25 am
Location: Huddersfield, West Yorkshire, UK

Re: Memory Error - Please Help!?!?!

Post by Sekka »

It's really does astonish me how many people don't use Google.

http://www.google.co.uk/search?hl=en&q= ... arch&meta=

This may be helpful? I dunno.

http://bugs.php.net/bug.php?id=40259
User avatar
Chalks
Forum Contributor
Posts: 447
Joined: Thu Jul 12, 2007 7:55 am
Location: Indiana

Re: Memory Error - Please Help!?!?!

Post by Chalks »

Sekka wrote:It's really does astonish me how many people don't use Google.

http://www.google.co.uk/search?hl=en&q= ... arch&meta=
Yeah. I just read through the first 20 results or so, and none of them had a definitive answer. Then I did a few more specific searches, and still didn't come up with an answer. So... Google isn't _always_ a substitute for asking here/real people.

The general consensus, however, seems to be that too much is being done all at once overwhelming the server. Make sure your mysql queries aren't doing more than the minimum required to get the job done. If you can legally post the source of the app you purchased, do so. If you can not, try to find an example of a place where the 3rd party script is working properly, and show us what it is _supposed_ to do.

Also: Huzzah for HostGator! I've been using them for almost 2 years now, and no problems whatsoever. :)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Re: Memory Error - Please Help!?!?!

Post by Ambush Commander »

Looks like the memory exhaustion is coming from Flex generated code that is attempting to load multiple input files (i.e. your includes). It shouldn't have anything to do with database connections.

Is the line in which the memory exhaustion occurring consistent? And if so, what is the value of var_dump(get_included_files()) before the error?
Post Reply