Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

callback error , out of memory

Status
Not open for further replies.

yourkeylady

Programmer
Jan 8, 2004
63
US
I am trying to correct this error which seems to be called fro m an LWP::UserAgent request. I don't know what sbrk() is. This error only shows up on our new server, not localhost or our old server. Can someone tell me what this means?

Out of memory during request for 28 bytes, total sbrk() is 3332096 bytes!
[Tue Nov 29 23:18:32 2005] cron_updater.pl: Callback called exit.
[Tue Nov 29 23:18:32 2005] cron_updater.pl: END failed--call queue aborted at cron_updater.pl line 11.
Out of memory during request for 536 bytes, total sbrk() is 3332096 bytes!
Callback called exit at /usr/local/lib/perl5/5.8.6/AutoLoader.pm line 92 during global destruction.


Thanks
Tricia
 
Didn't you used to be yorkeylady?

THINKS*:the amount of memory allocated to perl has been exceeded, could be that the old server ran into this in the past.

Suggestions, copy the config for perl from the old server, increase RAM on new server, looking into making the code less resource intensive. (though just over 3M isn't a lot)

I'm not entirely sure how perl is allocated memory, if it was PHP I could help, it's a setting php.ini :-(

HTH

Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I don't have 5 minutes to pee, how am I going to find 1 hour for cpan (LOL). I guess I could get a pan to put next to my chair. That might add up to an hour!

The script is huge. I don't know how to make it less memory intensive. Most of the variables are scoped and necessary.

Thanks
Tricia
 
No that's just me sig, don't worry about that :)

Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
It seems to be failing quite early yourkeylady, line 11 in your script. At a guess that's when you're loading modules with the "use" statement.

Autoloader, it says; are you using Autoloader explicitly?

Mike

I am not inscrutable. [orientalbow]

Want great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top