Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#217 Python interpreter import runs out of memory

closed-fixed
None
9
2006-02-07
2006-02-06
Anonymous
No

This happens with v.1.0 (but not with the latest
0.9.x)
Linux/Eclipse/3.1

It seems that when it builds some internal database,
after specifying the python interpreter
(/usr/bin/python2.4) the memory requirement shoots
through the roof and Eclipse crashes (with -vmargs
-Xms64m -Xmx384m)

Discussion

  • Markus Wankus
    Markus Wankus
    2006-02-06

    Logged In: YES
    user_id=1028084

    Yes, I can confirm this happens on my machine as well (with
    2GB of RAM and a heap size of 512MB!) if you touch either
    the Python or the Jython interpreter preference pages. I
    just installed 1.0 to try it out and whammo!

     
  • Jeff Pierson
    Jeff Pierson
    2006-02-06

    Logged In: YES
    user_id=3984

    Same for me on a Windows machine with 1G using 512M heap
    size. Using Eclipse 3.2M4 (I know, it probably isn't
    supported). Python 2.4, Windows XP Professional, with
    win32all, wxPython installed.
    I increased the heap size to 1Gb and tried it again and it
    ran for 15 minutes before I killed it. It was using up the
    whole 1G.

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2006-02-06

    Logged In: YES
    user_id=617340

    I'll take a look at it... Altough I already did some tests
    and was unable to reproduce it... (and I'm using -vmargs
    -Xms40m -Xmx256m)

    Should be going into some loop...

     
  • Scott Dial
    Scott Dial
    2006-02-06

    Logged In: YES
    user_id=383208

    I can also confirm this bug. Windows XP SP2/Eclipse 3.1.1
    and 3.1.2 (tried to upgrade to fix it)/Python 2.4 with
    several site-packages.

    I add the interpreter, click apply. I watch the progress
    until after the modules count-up (if it matters, I have 1610
    modules) and then it closes that progress window and
    subsequentially fills memory doing some process that has no
    visual indicators.

     
  • Lee McAllister
    Lee McAllister
    2006-02-06

    Logged In: YES
    user_id=1445666

    I can confirm the same problem on a fresh installation of
    Eclipse 3.1.2 with Java 1.4 SDK and Python 2.4.2 on a P4
    system with 1G Ram and Windows XP Pro. Pushing Heap size
    up to 512M did not help. I have additional Python
    packages installed including Foursuite, Amara, Quixote,
    and PyCrypto.

    I reverted to PyDev 0.9.8.7 and the python interpreter
    specification succeeded.

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2006-02-07

    Logged In: YES
    user_id=617340

    Hi, I just found out the problem... I'm making a new release
    right now...

    Cheers,

    Fabio

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2006-02-07

    Logged In: YES
    user_id=617340

    Ok, already uploaded zips and the update site.

    I guess that was the single stupidest bug I ever did... I
    accidentally commented a line... and it probably occured
    between passing the unit-tests and making the build.

    Yeah,yeah, I know, I should pass the tests only when the
    library is already built... but I still have to work out on
    how to do that in the pydev structure...

    Well, version 1.0.1 is already out, so, check if it works now...

    Cheers,

    Fabio

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2006-02-07

    • priority: 5 --> 9
    • assigned_to: nobody --> fabioz
    • status: open --> closed-fixed