# 8243 Hangs on debugging in second frame

I opened a second project in a new frame, and started debugging on a trivial 10-line test program. Went away for a cup of tea & a web browse, and when I tried to switch back to Diana, both frames had hung and were not refreshing. Diana was pegging the CPU at ~50% continuously. This has happened with previous releases, but generally recovers after a couple of minutes. This time it's been locked solid for 20 mins. I eventually killed the test frame java.exe process, but Diana remained locked, still using 50% CPU. After 30 mins, I killed the whole thing.

Looking at the log, it's full of out of heap errors. My vmoptions are -Xms256m, -Xmx512m which I expected to be adequate...

2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler -
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler.java:203)
at $Proxy74.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:163)
at com.intellij.execution.process.OSProcessHandler$2.textAvailable(OSProcessHandler.java:111)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.checkTextAvailable(OSProcessHandler.java:312)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run(OSProcessHandler.java:270)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:3)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:10)
Caused by: java.lang.OutOfMemoryError: Java heap space
2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler - IntelliJ IDEA (Diana) #8243 Build #8243
2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler - JDK: 1.6.0_04
2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler - VM: Java HotSpot(TM) Client VM
2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler - Vendor: Sun Microsystems Inc.
2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler - OS: Windows XP
2008-03-26 11:35:26,204 ERROR - ecution.process.ProcessHandler - Original exception:
java.lang.OutOfMemoryError: Java heap space

Edited by: Dave Lorde on Mar 26, 2008 12:20 PM

5 comments
Comment actions Permalink

Hello Dave,

I opened a second project in a new frame, and started debugging on a
trivial 10-line test program. Went away for a cup of tea & a web
browse, and when I tried to switch back to Diana, both frames had hung
and were not refreshing. Diana was pegging the CPU at ~50%
continuously. This has happened with previous releases, but generally
recovers after a couple of minutes. This time it's been locked solid
for 20 mins. I eventually killed the test frame java.exe process, but
Diana remained locked, still using 50% CPU. After 30 mins, I killed
the whole thing.


Thread dump please?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thread dump please?

Where would I find that?

0
Comment actions Permalink

Hello Dave,

>>

>> Thread dump please?

Where would I find that?


http://support.jetbrains.com/kb/entry.jspa?categoryID=4&externalID=260

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

OK, I can't reproduce it atm, but if it happens again, I'll get a stack trace.

0
Comment actions Permalink

fyi: in my snippet the JS debugging hangs on a breakpoint if I run it
the second time .. I did file a ticket with thread dump and further
information.

Michael



Dmitry Jemerov wrote:

Hello Dave,

>> I opened a second project in a new frame, and started debugging on a
>> trivial 10-line test program. Went away for a cup of tea & a web
>> browse, and when I tried to switch back to Diana, both frames had hung
>> and were not refreshing. Diana was pegging the CPU at ~50%
>> continuously. This has happened with previous releases, but generally
>> recovers after a couple of minutes. This time it's been locked solid
>> for 20 mins. I eventually killed the test frame java.exe process, but
>> Diana remained locked, still using 50% CPU. After 30 mins, I killed
>> the whole thing.


Thread dump please?

0

Please sign in to leave a comment.