#1372 runaway heap consumption

pending
Editor (491)
8
2011-10-13
2011-08-22
No

When editing a python module, pydev consumes all available heap memory.

System: Ubuntu 11.04 64bit.
Eclipse: Indigo release, build 20110615-0604, install path = /opt/eclipse
PyDev 2.2.1.2011071313
Project location: /home/mmartin/git/project

Discussion

  • Michael L. Martin

    Eclipse log file

     
  • Michael L. Martin

    I have a heap dump as well, but it's over 300MB, so I can't upload that. I'll be happy to make it available to you some other way if needed.

     
  • Michael L. Martin

    Also happens with Aptana Studio 3, with only the only extra plugin EGit installed.

     
  • Michael L. Martin

    Installed fresh Ubuntu 11.04 64 bit, all available updates.
    Installed fresh Eclipse 3.7 Indigo.
    Installed: subclipse, egit, pydev.
    Eclipse -vmargs set to:
    -Djava.library.path=/usr/lib/jni
    -Dcom.sun.management.jmxremote
    -Dosgi.requiredJavaVersion=1.6
    -XX:MaxPermSize=256m
    -XX:+HeapDumpOnOutOfMemoryError
    -Xms512m
    -Xmx512m

    Results are the same - do four or five small edits, and run out of heap.

    At the moment, pydev is completely unusable for me.

    Any ideas? It had been working great since last August, but in the last couple of weeks, it's completely unusable.

     
  • Michael L. Martin

    Currently uploading a smaller heap dump. Took a look at this with MAT and see that org.python.pdev.parser.visitors.scope.ASTEntry appears to be the culprit. Eclipse was started with the eclipse.ini -vmargs arguments listed in the previous comment (512m), and this class is consuming almost all of heap, with over 7.6 million objects.

    Will post link to new heap dump after upload is complete.

     
  • Michael L. Martin

    • priority: 5 --> 8
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-10-13
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-10-13

    Hi, I'm sorry for the delay... I'm trying to access that link but it seems it's not there... Do you still have those files available? Can you post them somewhere else so that I can take a look at it?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks