This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 41249 - Huge memory leak in debugger
Summary: Huge memory leak in debugger
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-03-24 08:56 UTC by Milan Kubec
Modified: 2006-03-24 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full thread dumps (31.99 KB, text/plain)
2004-03-24 08:57 UTC, Milan Kubec
Details
exc stack trace (328 bytes, text/plain)
2004-03-24 09:01 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-03-24 08:56:47 UTC
[custom trunk build with new debugger API, JDK
1.4.2_03]

Steps to reproduce:
1) Open any java project and open java file in editor
2) Invoke action 'Debug | New Breakpoint'

Memory meter started growing from 23.9MB and ended
up on 95.3MB. During that time and after that IDE
was almost unusable due to slowness. After some
time java.lang.OutOfMemoryError was thrown.
Alocated memory is not GCed.

Attached thread dumps taken when memory allocation
was growing.
Comment 1 Milan Kubec 2004-03-24 08:57:25 UTC
Created attachment 14113 [details]
full thread dumps
Comment 2 Milan Kubec 2004-03-24 08:59:18 UTC
It seems that IDE wants to load all package names available on entire
filesystem (/).
Comment 3 Milan Kubec 2004-03-24 09:01:42 UTC
Created attachment 14114 [details]
exc stack trace
Comment 4 Milan Kubec 2004-03-24 09:02:52 UTC
Second attachment shows exception thrown when doing the same action
again without restart of IDE.
Comment 5 Jan Jancura 2004-03-24 11:16:39 UTC
fixed in new Debugger branch
Comment 6 Jan Jancura 2004-03-26 14:35:44 UTC
fixed
Comment 7 pzajac 2004-04-02 11:30:04 UTC
Hanz,
can you set the target milestone when you fix issue?
Comment 8 Milan Kubec 2004-07-12 12:40:38 UTC
Verified in dev-200407111800.