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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Linux User Comments: GUEST: no idea i started a find command kharezlak: I've got it while I have it all Java FX project opend. GUEST: I did nothig .. the message poped just up, sorry Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572) at java.lang.StringBuilder.append(StringBuilder.java:203) at org.netbeans.modules.search.BufferedCharSequence.nextLineText(BufferedCharSequence.java:390) at org.netbeans.modules.search.BufferedCharSequence.getLineText(BufferedCharSequence.java:409)
Created attachment 95239 [details] stacktrace
it may have something to do with searching and scanning project at once.
(In reply to comment #2) > it may have something to do with searching and scanning project at once. ... and also to all other things that consume memory, i.e. all without exception. Unfortunately, the stack trace is showing the last JVM activities before the error only. Nevertheless, search activities might be a cause of the error too. Case 1 - A big list of the results. Current implementation of the search relies on buffered reading of the files instead of loading whole files into the memory. It seriously reduce memory consuming, but it won't help in a case if a lot of the files are involved in the searching process, and many of files contains strings that are matched to a search condition specified by a user. Case 2 - Specified search scope includes a big file containing too long line whose part is matched to the search condition. This assumption about a cause is closer to the attached stack trace. So additional investigation is needed. Will be better to have more info about conditions when the OOME occurs.
*** This bug has been marked as a duplicate of bug 183289 ***