memory control in Python

Laura Creighton lac at
Sat Aug 15 20:55:39 CEST 2015

If the problem is that Python is using too much memory, then PyPy may
be able to help you.  PyPy is an alternative implementation of Python,
and by defaiult uses a minimark garbage collector.

You will have to write your own bindings for the CPLEX C library, though,
using cffi.  (since
the bindings you have assume the CPython ref counting gc).

But if your C program is itself using too much memory, then this probably
won't help.

Discuss this more on pypy-dev at or the #pypy channel on freenode.
People on pypy-dev would appreciate not getting libreoffice spreadsheet
attachments but just the figures as plain text.


More information about the Python-list mailing list