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

Re: out of memory exception

by nikosv (Chaplain)
on Mar 30, 2010 at 19:20 UTC ( #831935=note: print w/replies, xml ) Need Help??

in reply to out of memory exception

Maybe it's not related to the script but to the dbms itself.

I have no Mysql experience but the concepts should be the same...

Check the transaction log file used for undo/rollback blocks;maybe it has no room to accomodate for all those inserts.If that is the case then just increase it's size or disable logging.

Check the dbms error log for clues

Check the temporary working directory which is used by Mysql,do a simple df -k,maybe it is filled up.

Replies are listed 'Best First'.
Re^2: out of memory exception
by cleverett (Friar) on Mar 30, 2010 at 19:58 UTC
    Has your schema changed in such a way as to get DBIx::Class to generate an infinite loop when you do an insert?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2016-10-01 21:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (8 votes). Check out past polls.