On Wed, Jan 21, 2009 at 9:38 PM, Arash Arfaee <erex...@gmail.com> wrote: > > Hi All, > > I am writing a multiprocessing program using python 2.6. It works in most > cases, however when my input is large sometimes I get this message again and > again: > > Python(15492,0xb0103000) malloc: *** mmap(size=393216) failed (error > code=12) > *** error: can't allocate region > > and at the and I have these messages: > > > Python(15492,0xb0103000) malloc: *** mmap(size=393216) failed (error > code=12) > *** error: can't allocate region > *** set a breakpoint in malloc_error_break to debug > Exception in thread Thread-2: > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", > line 524, in __bootstrap_inner > self.run() > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", > line 479, in run > self.__target(*self.__args, **self.__kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/pool.py", > line 259, in _handle_results > task = get() > MemoryError > > Any idea what is wrong here? I didn't attached the code since it is a big > program and I don't know exactly which part of my program causes this error. > And since it is multiprocessing I can't debug it and run it line by line! > > Thanks, > Arash > > -- > http://mail.python.org/mailman/listinfo/python-list > >
wow. How big are these objects/input? -- http://mail.python.org/mailman/listinfo/python-list