Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-06-18 11:17 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.