jamiewaese / ePlant

ePlant is a data visualization tool for integrating and exploring multiple levels of biological data.
MIT License
2 stars 1 forks source link

Memory management #76

Closed yuzhenmi closed 10 years ago

yuzhenmi commented 10 years ago

I discovered that there are numerous sources of memory leak associated with the ZUI framework's ViewObjects (vector graphic objects). This was especially horrible with tags in ChromosomeView, where having 6 tags would increase memory usage by a few MB each second! I will need to manually clean up ViewObjects when they are no longer in use, since the ZUI framework holds reference to ViewObjects (ironically, for optimization purpose) unless the reference is manually removed, which prevents native Garbage Collection.