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 258932 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Visual Tool Integration (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 03:00 UTC by Eof273
Modified: 2016-04-21 11:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201026


Attachments
stacktrace (536 bytes, text/plain)
2016-04-21 03:00 UTC, Eof273
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eof273 2016-04-21 03:00:17 UTC
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-b14
OS: Windows 7

User Comments:
GUEST: running my program whihc had an activemq broker

GUEST: Was debugging a javascript ajax callback testing using internal webkit browser and internal server. Put breakpoint in the javascript callback function, and netbeans locked up and took all the processor. Had to kill netbeans.

GUEST: Configured a remote git repository

GUEST: init netbeans

GUEST: Starting NetBeance with project.

Eof273: Debugging in IDE browser;




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:3664)
   at java.lang.String.<init>(String.java:201)
   at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:909)
   at java.lang.StringBuilder.substring(StringBuilder.java:76)
   at org.netbeans.core.startup.logging.PrintStreamLogger.run(PrintStreamLogger.java:190)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 Eof273 2016-04-21 03:00:20 UTC
Created attachment 159354 [details]
stacktrace
Comment 2 Tomas Hurka 2016-04-21 11:12:39 UTC
OutOfMemoryError is caused by the following exception on log file.

java.lang.IllegalStateException: Nested event loops are allowed only while handling system events
	at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:580)
	at com.sun.javafx.webkit.EventLoopImpl.cycle(EventLoopImpl.java:59)
	at com.sun.webkit.EventLoop.fwkCycle(EventLoop.java:45)
	at com.sun.webkit.Timer.twkFireTimerEvent(Native Method)
	at com.sun.webkit.Timer.fireTimerEvent(Timer.java:83)
	at com.sun.webkit.Timer.notifyTick(Timer.java:64)
	at javafx.scene.web.WebEngine$PulseTimer.lambda$static$45(WebEngine.java:1167)
	at javafx.scene.web.WebEngine$PulseTimer$$Lambda$93/647851557.pulse(Unknown Source)
	at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:314)
	at com.sun.javafx.tk.Toolkit$$Lambda$158/997243896.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313)
	at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:525)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:505)
	at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$400(QuantumToolkit.java:334)
	at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$64/275683845.run(Unknown Source)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$null$145(WinApplication.java:101)
	at com.sun.glass.ui.win.WinApplication$$Lambda$60/1570039615.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)


Reassigning to javafx.