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 252701 - OutOfMemoryError: Many strings stored in cache for NbPreferences$UserPreferences
Summary: OutOfMemoryError: Many strings stored in cache for NbPreferences$UserPreferences
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-30 18:38 UTC by Exceptions Reporter
Modified: 2015-09-11 13:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217634


Attachments
stacktrace (2.55 KB, text/plain)
2015-05-30 18:38 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-05-30 18:38:17 UTC
This bug was originally marked as duplicate of bug 242897, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15
OS: Windows 8

User Comments:
GUEST: Estava editando uns scripts em php OO, minimizei IDE para consultar a documentacao do php ao voltar o mesmo estava Travado. E consulmo memoria est
Comment 1 Exceptions Reporter 2015-05-30 18:38:19 UTC
Created attachment 153970 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-05 12:29:57 UTC
An NbPreferences$UserPreferences object holds field cachedKeyValues (HashMap) which contains key "lastIndexUpdate" with associated ArrayList with over 10 million items.

(Key "lastIndexUpdate" is used in o.n.m.maven.indexer.api.RepositoryPreferences.)

Reassigning to platform/Options&Settings. Fanis, please evaluate. Thanks.
Comment 3 Theofanis Oikonomou 2015-09-11 13:07:02 UTC
This should be fixed by http://hg.netbeans.org/main-silver/rev/6ad45f1e33cb. Please try a latest build and reopen if it still happens for you. Thank you