Skip to content

Memory leak in AADL workspace build #1726

@smithdtyler

Description

@smithdtyler

Summary

Java heap usage grows with each OSATE workspace build and cannot be garbage collected, eventually resulting in an OutOfMemoryException.

I created a minimum working example here: https://github.com/smithdtyler/osatememoryleaker

To run the example,

  • import com.example.osate.leaker into an Eclipse RCP/RAP workspace with OSATE installed (or with the OSATE sources).
  • Run as -> Eclipse Application
  • Import the Aircraft project (or just create it from new -> Example)
  • Run JVisualVM, select the test workspace
  • Click the button contributed by the leaker project

Watch:

screen shot 2019-03-05 at 8 49 52 am

  • OSATE Version: 2.4.0
  • Operating System: Windows 7

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions