#1118 org.jfree.ui.about.Licences wastes memory

1.0.x
closed-fixed
None
5
2013-10-02
2013-08-15
Jesse Glick
No

The license texts held in the Licenses class waste a noticeable amount of Java memory when you look through usage in a profiler. Surely there is no reason to keep the full text of the LGPL in memory for every application using JFreeChart. If and when the license text is needed, load it from a resource instead.

Discussion

  • David Gilbert

    David Gilbert - 2013-08-30

    Thanks. It hurts to know I wrote code like that, even if it was more than 10 years ago. It will be removed in the next JCommon / JFreeChart release.

     
  • David Gilbert

    David Gilbert - 2013-10-02

    This should be fixed now (JFreeChart 1.0.16 / JCommon 1.0.20).

     
  • David Gilbert

    David Gilbert - 2013-10-02
    • status: open --> closed-fixed
    • assigned_to: David Gilbert
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks