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 161266 - Selecting large artifacts consumes heap
Summary: Selecting large artifacts consumes heap
Status: RESOLVED WORKSFORME
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-03-26 15:31 UTC by Jesse Glick
Modified: 2009-04-24 16:50 UTC (History)
1 user (show)

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 Jesse Glick 2009-03-26 15:31:48 UTC
If you browse artifacts of a build and select e.g. a 200Mb NB build ZIP, heap usage goes up by 400Mb. Heap dump shows an
unreferenced StringBuilder containing a 200-million-long char[] with the full contents of the file. AFAIK nothing in the
Hudson module would be intentionally retrieving file contents without some action such as Ctrl-C, and anyway it would be
using a byte[], not a StringBuilder. Suspect drag-n-drop (converting "file" to String ~ text/plain) but need to prove it.
Comment 1 Jesse Glick 2009-04-24 16:50:47 UTC
No longer reproducible. Perhaps a dupe of issue #161055.