<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>453</bug_id>
          
          <creation_ts>2011-01-05 23:39:34 +0100</creation_ts>
          <short_desc>TextRenderer consumes too much memory</short_desc>
          <delta_ts>2011-02-05 04:11:53 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>awt</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julien Gouesse">gouessej</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>314d694855774eef907c65f8f304056dcc87de6a</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>762</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2011-01-05 23:39:34 +0100</bug_when>
    <thetext>Hi!

TextRenderer consumes too much memory as I explained here:
http://jogamp.762907.n3.nabble.com/high-memory-consumption-in-JOGL-tp2141331p2190784.html

You can reproduce this bug by running the text flow demo during half an hour. Lots of identical StandardGlyphVector instances are created which is completely useless.

I have already made a pull request containing a reliable fix for this bug and it is already used in several commercial applications for months. Use jvisualvm to see the difference. The pull request is here:
https://github.com/sgothel/jogl/pull/13
https://github.com/sgothel/jogl/pull/12
https://github.com/sgothel/jogl/pull/11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>818</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2011-02-05 04:11:53 +0100</bug_when>
    <thetext>merged: 314d694855774eef907c65f8f304056dcc87de6a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>