Login  Register

Re: TextRenderer memory leak?

Posted by Sven Gothel on Aug 21, 2019; 12:43am
URL: https://forum.jogamp.org/TextRenderer-memory-leak-tp4039967p4039979.html

On 8/21/19 2:27 AM, farrellf [via jogamp] wrote:
> I get the memory leak even with "tr[i].setUseVertexArrays(false);" so I'm
> guessing VBOs are not the only thing at play. VisualVM shows lots of int[] for
> GlyphProducer and Glyph:
>
> https://imgur.com/a/1DktskI

The given patch does not target this class of 'leaks',
as the path addresses the VBO leak.
Quoted b/c I haven't looked into your issue yet.

BTW .. JOGL' graph package contains a text renderer
utilizing the GPU. You will find some posts about it here
and on demos on JogAmp.

>
> I have not tried the patch yet. Is there a guide on how to build everything on
> Windows and package it into Jars?

When you clone the 'java11' branch, which contains the one patch,
you will find a doc/HowToBuild.html which is very much up-to-date.

~Sven

>
> -Farrell
>