Re: malloc (error code=12)

2009-01-22 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arash Arfaee wrote: > Very BIG Jesse It works on a huge Boolean function. > And thanks Roger. Do you think it will be solved if I run it over > another OS like windows? By far the simplest solution is to use a 64 bit process on a 64 bit operating

Re: malloc (error code=12)

2009-01-21 Thread Arash Arfaee
Very BIG Jesse It works on a huge Boolean function. And thanks Roger. Do you think it will be solved if I run it over another OS like windows? Cheers, Arash On Wed, Jan 21, 2009 at 7:19 PM, Jesse Noller wrote: > On Wed, Jan 21, 2009 at 9:38 PM, Arash Arfaee wrote: > > > > Hi All, > > > > I

Re: malloc (error code=12)

2009-01-21 Thread Jesse Noller
On Wed, Jan 21, 2009 at 9:38 PM, Arash Arfaee 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 (

Re: malloc (error code=12)

2009-01-21 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arash Arfaee wrote: > Python(15492,0xb0103000) malloc: *** mmap(size=393216) failed (error > code=12) errno 12 is ENOMEM on Macs (and Linux for that matter). You may have run out of swap space, but that is unlikely. The most likely cause is that you

Re: Malloc error

2008-05-17 Thread mankoff
On May 16, 9:16 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 16 May 2008 16:08:41 -0300, mankoff <[EMAIL PROTECTED]> escribió: > > > I'm brand spanking new to Python. Never coded in it, but I'm > > comfortable coding in general in other languages. > > Welcome...! > > > I'm Trying to

Re: Malloc error

2008-05-16 Thread Gabriel Genellina
En Fri, 16 May 2008 16:08:41 -0300, mankoff <[EMAIL PROTECTED]> escribió: I'm brand spanking new to Python. Never coded in it, but I'm comfortable coding in general in other languages. Welcome...! I'm Trying to get some legacy code to run on a newer machine. I don't have access to the legacy

Re: malloc error for newbie

2007-07-07 Thread David
On Jul 7, 6:27 am, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 7, 4:59 pm, David <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Very new to python. When I uncomment the line > > #self.im.putpalette(mkpalette()) > > Try to focus in on where the nasty is happening: > >p = mkpalette() >

Re: malloc error for newbie

2007-07-07 Thread John Machin
On Jul 7, 4:59 pm, David <[EMAIL PROTECTED]> wrote: > Hi, > > Very new to python. When I uncomment the line > #self.im.putpalette(mkpalette()) Try to focus in on where the nasty is happening: p = mkpalette() # self.im.putpalette(p) > in the following code, I get the error: > > pyt