Unable to allocate direct buffer memory

Ty Young youngty1997 at gmail.com
Sun May 10 23:05:20 UTC 2020


On 5/10/20 3:52 PM, John Hendrikx wrote:
> They're related.  32767x1137x4 = 149024316.
>
> It would help to know what your app might be doing.  Although it could 
> be a bug in JavaFX, it seems more likely that a canvas/image or cached 
> group or something is a bit bigger than reasonable.
>
> I think I've seen such errors in my app before I restricted maximum 
> sizes of images which were supplied from uncontrolled sources.
>
> --John
>


No images are used. The only questionable thing is that 
TilePane/GridPane is used in order to achieve a more responsive UI. I 
don't remember this being an issue in earlier versions either.



More information about the openjfx-dev mailing list