malloc (error code=12)

Roger Binns rogerb at rogerbinns.com
Thu Jan 22 09:16:34 CET 2009


-----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 system.  There are 64 bit versions of Windows available and
you'll need to install the 64 bit version of Python (it has AMD64 in the
name but will run on Intel 64 bit processors too).  The various Linux
distributions also have 64 bit flavours available.  Note that you will
also have to ensure that any 3rd party extensions using C code you use
are also (re)compiled for 64 bit.

The various versions of the 32 bit operating systems do have differing
address space layouts but with large amounts of data in use you are
still likely to hit a limit.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkl4K18ACgkQmOOfHg372QSE5QCgkp9bTPhkmHuh1I6U+onPLJSB
5MQAoIDmYNSlISe13Z2lSS0wspd/r+n+
=YQw6
-----END PGP SIGNATURE-----




More information about the Python-list mailing list