Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95397
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: memory control in Python |
| References | <CAM5e_kbbTAEHE=mi0WFXutJ5G2A-UV4wLsAPMcBT5XrCqhr3MA@mail.gmail.com> <87io8hc8z3.fsf@handshake.de><mqnsrm$mek$1@ger.gmane.org> |
| Date | 2015-08-15 20:55 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.33.1439664948.4764.python-list@python.org> (permalink) |
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. https://pypy.readthedocs.org/en/release-2.4.x/garbage_collection.html You will have to write your own bindings for the CPLEX C library, though, using cffi. http://cffi.readthedocs.org/en/latest/overview.html (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@python.org or the #pypy channel on freenode. People on pypy-dev would appreciate not getting libreoffice spreadsheet attachments but just the figures as plain text. Laura
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: memory control in Python Laura Creighton <lac@openend.se> - 2015-08-15 20:55 +0200
Re: memory control in Python Ping Liu <yanzhipingliu@gmail.com> - 2015-08-17 11:40 -0700
Re: memory control in Python Laura Creighton <lac@openend.se> - 2015-08-17 20:52 +0200
csiph-web