Memory problem
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Thu Nov 15 23:18:47 EST 2007
En Thu, 15 Nov 2007 10:10:06 -0300, Peter Otten <__peter__ at web.de>
escribió:
> Rolf Wester wrote:
>
>> Sorry, of course your are wright. I'm running Python2.5 on Linux, my
>> program imports numpy, matplotlib, sys and a python module of my own.
>> This module uses numpy and scipy.weave for imbedded C-code but no
>> extension modules. I though the code to be to large to show, I hoped you
>> could give me hint on what I could try.
>
> I think it is now safe to say that the embedded C code is a more likely
> culprit than the relative humidity of the moon...
Sure; and among all things that could be wrong, I'd start checking the
reference counts. Get it wrong by -1 and your objects suddenly dissapear;
get it wrong by +1 and your objects will never be destroyed, demanding
more and more memory like in this case.
--
Gabriel Genellina
More information about the Python-list
mailing list