greedy IDEA consumes all cpu and all memory

just had to switch back to #1184

I ran a unit test, it ended, then IDEA went mad:
it consumes ALL CPU - meaning that the whole notebook
is hardly responding to anything anymore, it takes
endless to fire up the task manager and to kill the process!
+ it consumes ALL the memory which I allowed it from idea.lax
---
After killing I tried again, same result.
Log file says nothing, except java.lang.OutOfMemoryError
if I wait long enough.
---
IDEA #1184 behaves fine.
---
let me know if I can turn on some debug switch to be
able to tell you more about the problem.

M.

6 comments
Comment actions Permalink

There were some problems in a previous build which increased the size of
a projects .iws file by many megabytes. IDEA got really slow when that
happened and consumed way to much memory. Do you have a very large .iws
file for your project?

Bas

On 15-06-2004 15:07, Michael Damberger wrote:

just had to switch back to #1184

I ran a unit test, it ended, then IDEA went mad:
it consumes ALL CPU - meaning that the whole notebook
is hardly responding to anything anymore, it takes
endless to fire up the task manager and to kill the process!
+ it consumes ALL the memory which I allowed it from idea.lax
---
After killing I tried again, same result.
Log file says nothing, except java.lang.OutOfMemoryError
if I wait long enough.
---
IDEA #1184 behaves fine.
---
let me know if I can turn on some debug switch to be
able to tell you more about the problem.

M.

0
Comment actions Permalink

.iws file is only 38kb

0
Comment actions Permalink

note: this still occurs with 2118.

0
Comment actions Permalink

Hi,

Try to make several thread dumps and post them.

Michael Damberger wrote:

just had to switch back to #1184

I ran a unit test, it ended, then IDEA went mad:
it consumes ALL CPU - meaning that the whole notebook
is hardly responding to anything anymore, it takes
endless to fire up the task manager and to kill the process!
+ it consumes ALL the memory which I allowed it from idea.lax
---
After killing I tried again, same result.
Log file says nothing, except java.lang.OutOfMemoryError
if I wait long enough.
---
IDEA #1184 behaves fine.
---
let me know if I can turn on some debug switch to be
able to tell you more about the problem.

M.



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I tried - but the notebook does hardly respond any more,
so it is difficult for IDEA to even repaint. I don't manage to produce a thread dump.

Then I tried starting from idea.bat to get the thread dump
from console, and I have a really stupid problem:
on my Acer notebook ctrl-break does not work.
It prints "Num Lock on/off" on the display, but no
thread dump happens. I don't know how to turn that off.

0
Comment actions Permalink

ok - at last I found out something:
when I run my test method from a main method instead,
it works perfectly. Method ends, IDEA responds.

It could be related to my test method calling native
methods, and IDEAs JUnit integration having
problems with printf-statements.

0

Please sign in to leave a comment.