On Tue, Mar 23, 2010 at 11:07 AM, jmf <jeanmichel.franc...@makina-corpus.com> wrote: > Hi, > > Just registred to the mailing list ! I'm using pydev for a long time (about > three or four years now). > > I really like this eclipse plugin. > > I have two issues. The first one is related to my current working process & > tools: > > * I'm adding a folder to the pydev python path. > * completion is working well. > * the source folder is deleted and rebuild by my deployment tool (zc.buildout > + collective.recipe.omelette) > * completion doesn't work anymore. > > To fix this, I need to remove the folder from python path, validate, re add it > and validate. > > I'm under Linux with Aptana Studio, build: 2.0.3.1265134283 > > The second one is on performance / memory purpose: > > * my current project load 290 eggs in the python path (lots of code) > * When the project is built and completion refreshed, some times I got memory > related errors. It seems that the more code there is in the python path the > more pydev need memory to build the project. I'm not sure this issue comes > from pydev because I have also the svn plugin that is working, but when I > rebuild from python's path pydev comes to a memory monster : ) > > I have an intel core2 duo with 4 GO on my workstation but not on my laptop, so > I need to remove the main features why I'm using pydev on it: completion. > > Most of vim users complains about memory usage of eclipse/pydev. But eclipse > by default only used 50 MO. When activate pydev and ask for completion on a > simple Plone it comes to 1GO ... a bit too much. Hope you guys will be able to > improve this in the futur. >
Can you give details about your setup and create a bug-report for that? (one for the loss of code-completion and another for the memory usage) Please add the following data on the memory report: 1. are those eggs all with .zips or uncompressed? 2. How much memory are you passing to -Xmx ? 3. The problem is on requesting a completion or on a rebuild? Note that java has the habit of going to the maximum and recycling memory after that, so, if you pass 1GB to it, it may use all that even if it could cycle before, as it usually goes for performance rather than memory -- and it depends a lot on where you're seeing that memory usage -- personally, I leave it around 500 MB (and I do work with some large projects). It may be that it has some problem specific to your setup, but I need more details to get into that). Also, if you were able to pass a heap dump of your memory in the case where you see it using too much memory that would help a lot (see the Getting Started of http://www.eclipse.org/mat/ for details on how to get that) -- just don't forget to zip it before sending (although it can still be a big file, so, if you may need to put it in a ftp somewhere so that I can get it). And also, it would be nice if you can get a clean eclipse only with pydev to this test (as having svn or other plugins will probably add too much noise -- in which case I might not be able to get a proper analysis of the dump). Cheers, Fabio ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ pydev-code mailing list pydev-code@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-code