Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: warning "Out of memory!"

by vitoco (Hermit)
on Jan 23, 2014 at 12:37 UTC ( [id://1071736]=note: print w/replies, xml ) Need Help??


in reply to warning "Out of memory!"

Well, OP updated the code, including some definitions, but @proteome array is still undefined!

Again, review the terminating conditions for each loop... I think you are going far away the end of the array, until no more memory is able to assign to @proteome. Do not use == as the index variable is being increased conditionaly inside inside the loop more than once without checking it's limit.

Also, check what happens if the $proteome[$index] does not match some of the REs... may be array @hold is full of undef's.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found