#6173: Thread handle leak

It looks like every time I attached, detached debugger to my remote applications, Intellij will leak a bunch of thread handles. After 10-20 times, the handle count went up to around 15,000. Anyone experiences the same problem?

9 comments

Fixed in Selena.

Nat wrote:

It looks like every time I attached, detached debugger to my remote applications, Intellij will leak a bunch of thread handles. After 10-20 times, the handle count went up to around 15,000. Anyone experiences the same problem?


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

0

Any plan to port it back to Demetra?

0

No, too much risk of debugger problems

Nat wrote:

Any plan to port it back to Demetra?


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

0

I reported this problem many times already. It seems to appear since IntelliJ 5 but become worse in IntelliJ 6. You should consider porting it back since it will be a while before Selena go out of the door.

http://www.intellij.net/forums/thread.jspa?messageID=5037549&#5037549

0

You can also report the bug to Sun, their VM seems to not close thread
handles after they have finished

Nat wrote:

I reported this problem many times already. It seems to appear since IntelliJ 5 but become worse in IntelliJ 6. You should consider porting it back since it will be a while before Selena go out of the door.

http://www.intellij.net/forums/thread.jspa?messageID=5037549&#5037549


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

0

I thought Thread handles will be leaked only if you create a new thread but don't call Thread.start()

0

I thought Thread handles will be leaked only if you create a new thread but don't call Thread.start()

0

No,
thread handles were from threads that stopped execution

Nat wrote:

I thought Thread handles will be leaked only if you create a new thread but don't call Thread.start()



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

0

Nat schrieb:

I thought Thread handles will be leaked only if you create a new thread but don't call Thread.start()

these ones cause memory leaks, though.

Ciao

...Jochen

0

Please sign in to leave a comment.