[ https://issues.apache.org/jira/browse/NETBEANS-6086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426432#comment-17426432 ]
Laszlo Kishalmi commented on NETBEANS-6086: ------------------------------------------- It seems this is caused by the making the YAML parser error tolerant. > Memory Leak in the YAML Parser > ------------------------------ > > Key: NETBEANS-6086 > URL: https://issues.apache.org/jira/browse/NETBEANS-6086 > Project: NetBeans > Issue Type: Bug > Reporter: Ramdane Oualitsen > Assignee: Laszlo Kishalmi > Priority: Major > > <record> > <date>2021-10-02T18:08:54</date> > <millis>1633194534773</millis> > <sequence>42266</sequence> > <logger>org.openide.util.Exceptions</logger> > <level>1001</level> > <thread>37</thread> > > <param>C:\Users\Ramdane\AppData\Roaming\NetBeans\12.5\var\log\heapdump.hprof</param> > <exception> > <message>java.lang.OutOfMemoryError: Java heap space</message> > <frame> > <class>java.util.Arrays</class> > <method>copyOf</method> > <line>3481</line> > <file>jrt:/java.base/java/util/Arrays.class</file> > </frame> > <frame> > <class>java.util.ArrayList</class> > <method>grow</method> > <line>237</line> > <file>jrt:/java.base/java/util/ArrayList.class</file> > </frame> > <frame> > <class>java.util.ArrayList</class> > <method>grow</method> > <line>244</line> > <file>jrt:/java.base/java/util/ArrayList.class</file> > </frame> > <frame> > <class>java.util.ArrayList</class> > <method>add</method> > <line>454</line> > <file>jrt:/java.base/java/util/ArrayList.class</file> > </frame> > <frame> > <class>java.util.ArrayList</class> > <method>add</method> > <line>467</line> > <file>jrt:/java.base/java/util/ArrayList.class</file> > </frame> > <frame> > <class>org.netbeans.modules.languages.yaml.YamlParser$1</class> > <method>scannerException</method> > <line>266</line> > <file>${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>scanFlowScalarSpaces</method> > <line>1161</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>scanFlowScalar</method> > <line>1052</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>fetchFlowScalar</method> > <line>1039</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>fetchDouble</method> > <line>1032</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>fetchMoreTokens</method> > <line>527</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>peekToken</method> > <line>439</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ScannerImpl</class> > <method>peekToken</method> > <line>445</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ParserImpl$ProductionEnvironment</class> > <method>produce</method> > <line>302</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > > <class>org.jvyamlb.PositioningParserImpl$PositioningProductionEnvironment</class> > <method>produce</method> > <line>143</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ParserImpl</class> > <method>parseStreamNext</method> > <line>834</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ParserImpl</class> > <method>peekEvent</method> > <line>781</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ComposerImpl</class> > <method>composeNode</method> > <line>111</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ComposerImpl</class> > <method>composeDocument</method> > <line>78</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ComposerImpl</class> > <method>getNode</method> > <line>54</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.jvyamlb.ComposerImpl$NodeIterator</class> > <method>next</method> > <line>59</line> > <file>${netBeansDir}modules/ext/jvyamlb-0.2.6.jar</file> > </frame> > <frame> > <class>org.netbeans.modules.languages.yaml.YamlParser</class> > <method>parse</method> > <line>308</line> > <file>${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar</file> > </frame> > <frame> > <class>org.netbeans.modules.languages.yaml.YamlParser</class> > <method>parse</method> > <line>404</line> > <file>${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar</file> > </frame> > <frame> > <class>org.netbeans.modules.parsing.impl.TaskProcessor</class> > <method>callParse</method> > <line>598</line> > <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file> > </frame> > <frame> > <class>org.netbeans.modules.parsing.impl.SourceCache</class> > <method>getResult</method> > <line>228</line> > <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file> > </frame> > <frame> > > <class>org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer</class> > <method>run</method> > <line>775</line> > <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file> > </frame> > <frame> > <class>org.openide.util.lookup.Lookups</class> > <method>executeWith</method> > <line>279</line> > <file>${netbeans.home}lib/org-openide-util-lookup.jar</file> > </frame> > <frame> > > <class>org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer</class> > <method>execute</method> > <line>702</line> > <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file> > </frame> > <frame> > <class>org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob</class> > <method>run</method> > <line>663</line> > <file>${netBeansDir}modules/org-netbeans-modules-parsing-api.jar</file> > </frame> > <frame> > <class>java.util.concurrent.Executors$RunnableAdapter</class> > <method>call</method> > <line>539</line> > > <file>jrt:/java.base/java/util/concurrent/Executors$RunnableAdapter.class</file> > </frame> > <frame> > <class>java.util.concurrent.FutureTask</class> > <method>run</method> > <line>264</line> > <file>jrt:/java.base/java/util/concurrent/FutureTask.class</file> > </frame> > <frame> > <class>org.openide.util.RequestProcessor$Task</class> > <method>run</method> > <line>1418</line> > <file>${netbeans.home}lib/org-openide-util.jar</file> > </frame> > </exception> > </record> > <record> > <date>2021-10-02T23:51:35</date> > <millis>1633215095988</millis> > <sequence>605</sequence> > <level>700</level> > <thread>31</thread> > <message>UI_USER_CONFIGURATION</message> > <key>UI_USER_CONFIGURATION</key> > <catalog>org.netbeans.modules.uihandler.Bundle</catalog> > <param>Windows 10, 10.0, amd64</param> > <param>OpenJDK 64-Bit Server VM, 17+35-LTS, OpenJDK Runtime Environment, > 17+35-LTS</param> > <param>Apache NetBeans IDE 12.5</param> > <param></param> > <param>OutOfMemoryError: Java heap space</param> > <param><Please provide a description of the problem or the steps to > reproduce></param> > <param>*********</param> > </record> -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists