MemoryError c/vcompiler.h:745: Fatal Python error (Psycopg2)

Lie Ryan lie.1296 at gmail.com
Sun Jun 21 09:50:08 EDT 2009


Luis P. Mendes wrote:
> Sun, 21 Jun 2009 13:04:59 +0000, Lie Ryan escreveu:
>> Have you tried running without psyco? Psyco increases memory usage quite
>> significantly.
>>
>> If it runs well without psyco, you can try looking at your code and
>> selectively psyco parts that need the speed boost the most.
> 
> I really need Psyco (use version 1.6 - forgot to mention earlier) to 
> speed up the code.
> The part that consumes more memory is the one that needs Psyco the most.

Yeah, but try running without psyco first and see if the problem is
really caused by psyco. If it still produces an error, then we can rule
out psyco as the root cause of the problem.

Selective psyco-ing can reduce the amount of memory psyco uses and may
just be slightly slower than full boosting (and sometimes it may
actually become faster in memory constrained situation as less swapping
is needed).



More information about the Python-list mailing list