Hi all, 

I have a perl code that reads a file into a list in an array of array. Then it 
rearranges each 
nested array in another format - 4 columns instead of 2 - by randomly picking an 
element 
of each array and reassembling another array. It's been working when the infile is 
small. 
However, when it is large the program crashes and spits the following message:

*** malloc: vm_allocate(size=262144) failed with 3
*** malloc[591]: error: Can't allocate region
Out of memory!


which is obviously related to memory allocation.

Can someone help me fixing this problem?

Thanks

Julianno Sambatti

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to