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: | CodeCompletion took 2054 ms. | ||
---|---|---|---|
Product: | projects | Reporter: | pprikryl |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 189916 |
Attachments: | nps snapshot |
Description
pprikryl
2012-06-22 10:14:42 UTC
Created attachment 121209 [details]
nps snapshot
MavenForBinaryQuery.Result accesses the MavenProject instance that needs to be loaded using the maven embedder. That's a clear case when the MavenProject instance associated project was de-references due to low memory (it's held via SoftReference). The next time we reach for MavenProject, the use absorbs the penalty. The MavenProject instance is usually created right at the beginning when the project gets loaded, and only disappears when memory is really low. Not much we can do here. |