Possible memory leak?... help

Joined
Aug 10, 2011
Messages
2
Reaction score
0
Points
1
Hi All,

This is my first post here, after searching on google...

1) hoping to get some help with this perl error that I get when I run my code in terminal on a MacPro. I have Active perl installed on it and not sure if its a perl code error or something with Mac
*************
perl(12096) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Out of memory!
**************
2) Another problem I see is that the MacPro has 16 GB of memory available - but somehow the terminal crashes after 4GB of virtual memory is reached. I am not able to use all the 16GB memory or the 16 cores on this machine. Do I have to modify memory allocation or something to allow terminal to have access to more RAM...?

Thanks for your help.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Moved to a more appropriate forum.

I don't know much about Perl (I find the code ugly - *cue perl lovers*) so I'll leave this up to the more experienced members here. It might help though if you post the code so people can take a look at it.

Just one suggestion, to get the ball rolling if you will - have you tried running this with the system Perl?
 
OP
M
Joined
Aug 10, 2011
Messages
2
Reaction score
0
Points
1
Thanks Vansmith - I will try running the code with system perl and will update. Perl works for my sequence data....

However, I still dont get the part where the virtual memory is being restricted to 4Gb. Would that be a perl problem or Mac machine?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top