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.
Summary: | OOME 0.5G of strings created from currentTimeMillis by autoupdate(?) | ||
---|---|---|---|
Product: | platform | Reporter: | dlwilson88 |
Component: | Autoupdate | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 212278 |
Attachments: | stacktrace |
Description
dlwilson88
2014-09-27 15:26:24 UTC
Created attachment 149555 [details]
stacktrace
11M of strings eating up 0.5G of memory. 225K org.openide.modules.Dependency instances. 28K of autoupdate elements is likely the reason why the rest is created. There is enormous amount of strings representing a number like "1411823431889". The numbers vary at last digits so the value is likely representing currentTimeMillis. Who's creating strings with currentTimeMillis value? Maybe: autoupdate.cli/src/org/netbeans/modules/autoupdate/cli/ModuleOptions.java: ownUUP.add(UpdateUnitProviderFactory.getDefault().create(Long.toString(System.currentTimeMillis()), url.toExternalForm(), url)); Anyway passing to autoupdate for evaluation. |