« Previous - - Next »

[prefuse] memory leak

17 July 2007

Prefuse leaks much memory while graph creation/deletion.
It seems that prefuse doesn’t assume frequent graph creation/deletion.

I had to modify the prefuse’s source code to fix it.
Followings are the points of leaking.

  • Display.m_offscreen (have to be null)
  • Display.m_queue (have to be null)
  • Graph.m_links (see Table)
  • Graph.m_listener
  • Graph.m_listeners
  • Table.m_listeners
  • Table.m_entries
  • Table.m_columns
  • Table.m_names
  • Visualization.m_visual
  • Visualization.m_source
  • This is why I hate Java.
    Some java programmers don’t realize java can leak memory.
    Some of them don’t know what is destractor.
    I think criminal is sun.

    Posted in programming | Trackback | del.icio.us | Top Of Page

    No comments yet

    Leave a Reply