the classic out of memory during large request

T

Tim

I'm getting errors like this

Out of memory during "large" request for 528384 bytes, total sbrk() is
16302080 bytes at ... line 176.

when the server is busy. This is for a background perl script. What
I would like to do is to check to see if memory for the request is
available before running the offending the command, and just pause
everything until memory is available. Is that possible?

Thanks all,
Tim
 
B

Ben Morrow

Quoth (e-mail address removed) (Tim):
I'm getting errors like this

Out of memory during "large" request for 528384 bytes, total sbrk() is
16302080 bytes at ... line 176.

when the server is busy. This is for a background perl script. What
I would like to do is to check to see if memory for the request is
available before running the offending the command, and just pause
everything until memory is available. Is that possible?

You could try investigating $^M...

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top