[issue1524938] PEP MemoryError with a lot of available memory gc not called

Itai report at bugs.python.org
Wed Aug 18 18:08:37 CEST 2010


Itai <itai.in at gmail.com> added the comment:

Sure, that's what i'll do for now. Its an ok workaround for me, I was just
posting to support the
notion that its a bug (lets call it usability bug) and something that people
out there do run into.

There's also a scenerio where you couldn't use this workaround - for example
use a library
precompiled in a pyd..

On Wed, Aug 18, 2010 at 6:13 PM, Ray.Allen <report at bugs.python.org> wrote:

>
> Ray.Allen <ysj.ray at gmail.com> added the comment:
>
> How about calling gc.collect() explicitly in the loop?
>
> ----------
> nosy: +ysj.ray
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue1524938>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file18568/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1524938>
_______________________________________
-------------- next part --------------
<div dir="ltr">Sure, that&#39;s what i&#39;ll do for now. Its an ok workaround for me, I was just posting to support the <br>notion that its a bug (lets call it usability bug) and something that people out there do run into.<br>
<br>There&#39;s also a scenerio where you couldn&#39;t use this workaround - for example use a library <br>precompiled in a pyd.. <br><br><div class="gmail_quote">On Wed, Aug 18, 2010 at 6:13 PM, Ray.Allen <span dir="ltr">&lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Ray.Allen &lt;<a href="mailto:ysj.ray at gmail.com">ysj.ray at gmail.com</a>&gt; added the comment:<br>
<br>
How about calling gc.collect() explicitly in the loop?<br>
<br>
----------<br>
nosy: +ysj.ray<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker &lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;<br>
&lt;<a href="http://bugs.python.org/issue1524938" target="_blank">http://bugs.python.org/issue1524938</a>&gt;<br>
_______________________________________<br>
</div></div></blockquote></div><br></div>


More information about the Python-bugs-list mailing list