Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Memory leak in GrafLoader

1.2
closed
2013-10-09
2012-06-13
Keith Suderman
No

The GrafLoader (possibly the GrafParser) contains a memory leak and reusing the same loader to load multiple graph objects will eventually cause an application to run out of heap space.

Discussion

  • Keith Suderman
    Keith Suderman
    2012-06-14

    The memory leak was in the GrafParser class due to a design flaw in the IAnnoationSpace API. Removed code left over from the days of "annotation sets", when the AnnotationSet class attempted to record all instances of the annotations in the set. This caused the leak since annotations were never removed from the sets when a graph was destroyed.

    The fix will be in Subversion soon and this will be closed when 1.2 is released.

    • status: open --> accepted
     
  • Keith Suderman
    Keith Suderman
    2012-06-19

    The fix is now in Subversion and 1.2.0-SNAPSHOT on Maven. Ticket will be closed when 1.2.0 is released.

    • status: accepted --> pending
     
  • Keith Suderman
    Keith Suderman
    2013-10-09

    • status: pending --> closed
     
  • Keith Suderman
    Keith Suderman
    2013-10-09

    Fixed.