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 207728 - Opening of heap dump on linux is very slow
Summary: Opening of heap dump on linux is very slow
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE, VISUALVM
Depends on:
Blocks: 181194
  Show dependency tree
 
Reported: 2012-01-25 14:14 UTC by Petr Cyhelsky
Modified: 2012-09-27 15:21 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 Petr Cyhelsky 2012-01-25 14:14:16 UTC

    
Comment 1 Tomas Hurka 2012-01-25 14:35:35 UTC
This problem is specially visible in a larger heap dumps >600M., where opening heap dump is significantly slower for second half (opening progress is bigger than 50%). The computation of the references is also significantly slower (compared to other Operating systems).
Comment 2 Tomas Hurka 2012-02-01 13:03:30 UTC
Fixed in profiler-main
changeset:   211795:3cc3143ce40c
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Feb 01 13:46:49 2012 +0100
summary:     bugfix #207728, use FileChannel.MapMode.PRIVATE on Linux

the fix was tested with ~ 1G heap dump and the loading heap dump is now down to 37 seconds from 10 minutes and computation of references is down to 80 sec. from 11 minutes.