Click here to get back home

Out of Memory error

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Out of Memory error Charlie 09-12-2004
Posted by Charlie on September 12, 2004, 11:51 pm
Please log in for more thread options
My company has a website that handles users playing orders every week.
I was asked by my manage to test the website performance when the
orders are created by users in tens, houndreds, thousands at the same
time.

The way that I have emplemented is by running some perl scripts on my
LINUX box. I have been using perl 5.8.4, on top of that are some free
modules that I have found from cpan.org.

In my script, I have created 10 main threads, and for each main
thread, I have created another amount of child-threads. So once the
script is started, there will be a number of child-threads running and
each child-thread simulates one normal user' interaction with our
company's website.

I put that script in an loop that runs day and night and everything
works perfect till couple days ago, when I am seeing following error
happens:
"
....
Out of Memory!
Callback called exit at ...
....
"
I have checked internet, and my understanding is if there is an
endless loop, deep recursion, etc, that error may happen. But on the
other hand, it only happens in the early version of perl, such as perl
5.6.X.

So my question is does someone know why it happens in my environment,
and any possible way to have it solved ?


Thanks a lot for anything.


Charlie


Similar ThreadsPosted
DBD::Unify on AIX : error -59 unable to attach to shared memory. July 8, 2006, 11:24 pm
CPAN shell says "Out of memory!" December 30, 2005, 5:15 pm
Shared memory for data structures September 8, 2004, 11:13 am
Leaking memory in Perl XS Module November 8, 2004, 10:40 am
Memory Leak in Math::Pari December 16, 2004, 6:21 am
Thread::Semaphore consumes memory January 7, 2005, 11:05 pm
threads, XSUB allocated memory, destructors, destruction September 30, 2005, 6:31 pm
How to solve memory problems while running a script parsing huge data July 13, 2004, 1:23 pm
Error: RCPT TO: error (550 relay not permitted) February 11, 2006, 1:39 pm
GD.c: 533: error: syntax error before "void" March 24, 2006, 10:15 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap