Project

General

Profile

Actions

Bug #4642

open

memory usage & slowdowns

Added by Oliver Soong almost 15 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
12/18/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4642

Description

I just hit a big slowdown caused by OOM problems. This bug is mostly a place to put down some of the stuff I found out. I used jmap to produce histograms when Kepler was crawling and immediately after a fresh restart. When Kepler was slow, there was a single workflow open with 4 actors and the Check System Settings window. The fresh Kepler retained the wrm and cache content, but discarded the 4 actors and all the accumulated memory leaking cruft.

A few things jump out at me, and I'd say I'm pretty uninformed. I've formatted as Object: stale #, fresh #.

org.kepler.util.WorkflowRun: 39206, 29
javax.swing.JMenuItem: 3411, 96
java.util.HashMap: 689643, 22885
org.kepler.objectmanager.lsid.KeplerLSID: 120115, 1339
java.util.LinkedList: 95565, 4468
ptolemy.kernel.util.Location: 1837, 45

Interestingly enough, I have 28 wrm entries. I think something's up with the wrm, but also a lot of GUI objects seem to be hanging around as well, so there may be other things going on as well.

And on a side note, jps -> jmap -> jhat produces some pretty cool results.


Files

histograms.zip (89.4 KB) histograms.zip Oliver Soong, 12/18/2009 07:45 PM

Related issues

Blocked by Kepler - Bug #5095: test kepler and wrp for memory leaksIn Progressjianwu jianwu07/14/2010

Actions
Actions

Also available in: Atom PDF