out of memory

Tom Eugelink tbee at tbee.org
Tue Nov 6 04:40:20 PST 2012


I figured as much, so these nodes still are part of the scene. They are not "to be removed", correct?

Tom



On 2012-11-06 13:36, Kevin Rushforth wrote:
> The dirty nodes collection is a list of nodes in a scene that have had their state modified. It is processed and cleared as part of the node synchronization step each pulse.
>
> -- Kevin
>
>
> Tom Eugelink wrote:
>> A user of MigPane reported that he ran into a out of memory exception.
>>
>> http://migcalendar.com/forums/viewtopic.php?f=8&t=3916&p=8717#p8717
>>
>> I've created a memory dump of this and using the memory analyser tool I only see that it is being held by weak references and the scene node.
>>
>> Class Name | Shallow Heap | Retained Heap
>> ----------------------------------------------------------------------------------------------------------------
>> javafx.scene.control.Button @ 0x319ba2f8                                         | 408 |         1,672
>> - [60490] javafx.scene.Node[98113] @ 0x29cc8810                                 |      392,464 | 392,464
>>    - dirtyNodes javafx.scene.Scene @ 0x27f65d00                                 |          376 | 396,728
>>       |- this$0 javafx.scene.Scene$ScenePeerListener @ 0x28003d60                |           16 |            16
>>       |  - sceneListener com.sun.javafx.tk.quantum.ViewScene @ 0x27ffb710       | 64 |           168
>>       |     |- scene com.sun.javafx.tk.quantum.PrismPen @ 0x27ffc7f0             |           48 |         2,344
>>       |     |  - pen com.sun.glass.ui.win.WinView @ 0x27ff4e98 Native Stack     |           72 |           480
>>       |     |- scene com.sun.javafx.tk.quantum.GlassViewEventHandler @ 0x27ffc820|           48 |           408
>>       |     |- scene com.sun.javafx.tk.quantum.WindowStage @ 0x27f694e8          |           88 |           184
>>       |     - Total: 3 entries |              |
>>       |- this$0 javafx.scene.Scene$ScenePulseListener @ 0x27f6a300               |           16 |            16
>>       |- oldScene, value javafx.scene.Node$4 @ 0x31121ca8                        |           48 |            48
>>       - Total: 3 entries |              |
>> ----------------------------------------------------------------------------------------------------------------
>>
>> What is this dirtyNodes collection and when are nodes placed in it?
>>
>> Tom
>>



More information about the openjfx-dev mailing list