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.
This issue was reported manually by thurka. It already has 29 duplicates Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: GUEST: It happend when I start netbeans GUEST: Getting this error every time when i load Netbeans in my Ubuntu 14.04 System. GUEST: asd GUEST: Taking huge memory GUEST: ????????????20MB????????? GUEST: check it please. GUEST: Net beans opening error. GUEST: Estava usando, deu pau na mem
Created attachment 158531 [details] stacktrace
It looks like a problem in PHP org.netbeans.modules.php.editor.PhpEmbeddingProvider.getEmbeddings(PhpEmbeddingProvider.java:96) Please evaluate.
Caused by parsing of huge PHP files. NetBeans should ignore these files during parsing & indexing, similarly to JavaScript. Thanks.
(In reply to Tomas Mysik from comment #3) > Caused by parsing of huge PHP files. NetBeans should ignore these files > during parsing & indexing, similarly to JavaScript. Not exact; this OOME happened during lexing and not parsing so we now check also the file size before lexing. Parser already does this check. Thanks. http://hg.netbeans.org/web-main/rev/553c25095cba
Integrated into 'main-silver', will be available in build *201606240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/553c25095cba User: Tomas Mysik <tmysik@netbeans.org> Log: #258028 - OutOfMemoryError: Java heap space Avoid lexing of huge files.
*** Bug 250617 has been marked as a duplicate of this bug. ***