Menu

#56 Memory leak in eval()

open-wont-fix
nobody
5
2005-06-01
2005-05-31
Anonymous
No

Here's a presumably easier memory leak.
I have a repeated call to eval() (the argument happens
to be "[]" every time) which leaks with psyco enabled,
and not without.
This is with version 17039600 (FreeBSD package
py24-psyco-1.4). It happened with the py24-psyco-1.3
package also.

clarence@silcom.com

Discussion

  • Armin Rigo

    Armin Rigo - 2005-06-01

    Logged In: YES
    user_id=4771

    This one is a known problem. eval() or exec create new code objects, which makes Psyco compile new machine code. The machine code is not garbage-collected, as this would be quite involved to do. I don't plan to fix it in Psyco.

     
  • Armin Rigo

    Armin Rigo - 2005-06-01
    • status: open --> open-wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB