Kirill Maximov wrote: > I have 256Mb RAM. Please note, it also works correctly according to > memory indicator in IDEA. But in task list it shows quite other > number, which grows permanently. > > In idea.bat I have > SET JVM_ARGS=-ms16m -mx128m > > I found the scenario, when it doesn't start eating CPU & memory: > 1. I start IDEA without any project > 2. create new fake project > 3. load my project. > > If I skip step 2, it eats CPU and memory after loading the project > (even if it was a project created by this version of IDEA). >
Well basically depending on the size of project IDEA will always go up and down in heap allocation like yoyo - b/c of all nice and shiny features with parsing and file syncs 8) Basically what you getting - Sun's JDKs with hotspot are quite sucky in terms of memory cleanup in short terms. I.e it actually will eat all heap before it will start clean it up agressively. Given that you got 128M heap allocated for idea, and you got only 256 physical memory with NT (eh? 4.0?!) - you will go into swapping quite soon - if i am not mistaken then normal memory picture on NT was somewhere around 80 megs to bring up email, nice desktop (i.e background and other crap), antivirus. Dunno.. my 2 cents is that thrashing is more JDK related and NT related than IDEA itself. I used to get same until i ditched Win as development platform and moved to Linux. Only cure for Win i could suggest - use normal JDK (as in - stop using Sun) and try to remove all unnecessary programs from memory. For me 615/616 (running two versions at same time) been sitting with "reopen last project" for past 1/5 hour in 32/34M window each with memory going up and down inside those 32/34 M heap and those project has mixed docs opens with java and xml in them. Thats why i doubt its IDEA issue 8) _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
