[Building Sakai] SiteStats leaking memory?

Matthew Buckett matthew.buckett at it.ox.ac.uk
Wed Nov 14 02:27:25 PST 2012


While looking through a heap dump I've got:

org.sakaiproject.sitestats.impl.event.EventRegistryServiceImpl.toolEventIds

as an list containing 7.6 million items, all of them a event string,
it looks like ever single event is ending up in this list, it's only
eating up 61MB, but still it's a little worrying. We're running
Sitestats 2.2.1, but the code doesn't look very different in trunk.

Has anyone else seen this?

Side note; org.sakaiproject.sitestats.impl.event.EventRegistryServiceImpl.eventIdToolMap
is the map from which toolEventIds is created, but this only has 216
entries.

-- 
  Matthew Buckett, VLE Developer, IT Services, University of Oxford


More information about the sakai-dev mailing list