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 228533 - Too much memory needed to open nps snapshot
Summary: Too much memory needed to open nps snapshot
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL: https://netbeans.org/projects/profile...
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2013-04-12 20:51 UTC by Tomas Hurka
Modified: 2014-01-24 13:31 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 Tomas Hurka 2013-04-12 20:51:30 UTC
To open attached .nps snapshot, NetBeans has to run with Xmx 1100M (in my test build and with clean userdir).
Comment 1 Tomas Hurka 2013-04-13 07:25:50 UTC
Snapshot is available at <https://netbeans.org/projects/profiler/downloads/download/Heapdumps/javac7.nps>
Comment 2 Tomas Hurka 2013-04-13 11:44:22 UTC
Fixed in profiler-main

changeset:   250396:a37317ed236b
user:        Tomas Hurka <thurka@netbeans.org>
date:        Sat Apr 13 13:19:39 2013 +0200
summary:     bugfix #228533, do not read compressedData into memory and do not expand compressed data into byte array - use InflaterInputStream

after the fix the same snapshot can be opened with Xmx 550M
Comment 3 Quality Engineering 2013-04-25 02:17:41 UTC
Integrated into 'main-golden', will be available in build *201304242301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a37317ed236b
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #228533, do not read compressedData into memory and do not expand compressed data into byte array - use InflaterInputStream