-
Enhancement
-
Resolution: Fixed
-
P5
-
fx2.1
-
JavaFx 2.1.0-beta-b14, Java 6, OS X.
with a large number of nodes in the scene graph (40'000 rectangles and action handlers attached)
I got the following OOME
{code}
Glass detected outstanding Java exception at -[GlassRunnable run]:src/com/sun/mat/ui/GlassApplication.m:163
Exception in thread "AWT-AppKit" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
at java.lang.StringBuilder.<init>(StringBuilder.java:68)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseString(QuantumToolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.postPulse(QuantumToolkit.java:407)
at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:330)
{code}
While it is totally ok to get OOME with too many nodes, it is probably not intended
that this comes from a StringBuilder generated by pulseString() !
Related:RT-20007
I got the following OOME
{code}
Glass detected outstanding Java exception at -[GlassRunnable run]:src/com/sun/mat/ui/GlassApplication.m:163
Exception in thread "AWT-AppKit" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
at java.lang.StringBuilder.<init>(StringBuilder.java:68)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseString(QuantumToolkit.java:424)
at com.sun.javafx.tk.quantum.QuantumToolkit.postPulse(QuantumToolkit.java:407)
at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:330)
{code}
While it is totally ok to get OOME with too many nodes, it is probably not intended
that this comes from a StringBuilder generated by pulseString() !
Related:
- duplicates
-
JDK-8101962 QuantumToolkit.postPulse should only call pulseString when in debug mode
-
- Closed
-