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 271741

Summary: OutOfMemoryError: Java heap space
Product: php Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230760
Attachments: stacktrace

Description Exceptions Reporter 2017-11-01 13:37:09 UTC
This bug was originally marked as duplicate of bug 251260, 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.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Mac OS X

User Comments:
GUEST: Editing a Laravel Blade template. It's a common problem that occurs with double curly brackets inside a HTML attribute. E.g.:
form action="{{ route() }}">

A lot of times Netbeans will refuse to type the second bracket (opening and closing). Copy-paste however usually works.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3332)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421)
   at java.lang.StringBuilder.append(StringBuilder.java:136)
   at org.netbeans.modules.php.editor.parser.GSFPHPParser$Context.getSanitizedSource(GSFPHPParser.java:826)
Comment 1 Exceptions Reporter 2017-11-01 13:37:12 UTC
Created attachment 165383 [details]
stacktrace