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 106517 - HeapWalker: No way to unload heap dump and release (unlock) the heap dump file
Summary: HeapWalker: No way to unload heap dump and release (unlock) the heap dump file
Status: VERIFIED DUPLICATE of bug 104806
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 15:18 UTC by _ sandipchitale
Modified: 2007-11-01 12:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ sandipchitale 2007-06-13 15:19:10 UTC
Steps:

1. Create a heap dump file using jmap.
2. Load the heap dump file into NetBeans Profiler HeapWalker.
3. Close the HeapWalker window.

At this point it is not clear if the heap dump file has been released or not. I could not find a way to reopen the 
window.

4. Try to delete the heap dump file in windows explorer. Get a Canot delete file:Access Denied error.

Hitting garbage collect button (possibly triggering finalizers in the hopes of file release may be?) did not help 
either.
Comment 1 Jiri Sedlacek 2007-06-26 11:16:27 UTC
If you load the heapdump and then close it, the only way to get the HeapWalker window back is to load the heapdump 
again. You are not able to delete the file after closing the HeapWalker because of Issue 104806.

*** This issue has been marked as a duplicate of 104806 ***
Comment 2 Maksim Khramov 2007-11-01 12:00:07 UTC
Verified duplicate