[Pythonmac-SIG] OS X python memory limits ?

James Boyle boyle5 at llnl.gov
Thu May 22 17:45:30 CEST 2008


OS X 10.4.11 numpy 1.0 python 2.5.1

I have been running some data analyses and getting errors such as the  
following:

python(22768) malloc: *** vm_allocate(size=14778368) failed (error  
code=3)
python(22768) malloc: *** error: can't allocate region
python(22768) malloc: *** set a breakpoint in szone_error to debug

I have 2GB of memory in my machine, and physically I do not think  
that I should be running out of space.

I vaguely recall some discussion of a hard limit to python memory  
allocation on OS X due to some operating system idiosyncrasy.
I thought that the problem had been addressed in python 2.0 but I  
could be wrong.

Before revamping my code to detect my probable screwup - I thought I  
would check this out.
Thanks for any enlightenment.

--Jim



More information about the Pythonmac-SIG mailing list