Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Perl "Out of memory!" Error signal backtrace

by perlfan (Vicar)
on Nov 13, 2021 at 16:54 UTC ( #11138788=note: print w/replies, xml ) Need Help??

in reply to Perl "Out of memory!" Error signal backtrace

> Somewhere deep within the thread

If you reproduce it, post the code here. I am guessing you're making some wrong assumption about threads and how they work in perl; without knowing what you're doing, I can blindly suggest: 1) get it working serially, and 2) if you need to workshare, use fork or better, Parallel::ForkManager. Also, if you're reading in a entire 1 TB file or grabbing a billion rows from mysqld, then there are better ways to do it.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138788]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2023-03-29 04:19 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (70 votes). Check out past polls.