[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] No dispose() on SVNClients in Subclipse?

From: Victor Antonovich <victor_at_mobileap.ru>
Date: Thu, 25 Dec 2008 13:39:11 +0300


I'm using Subclipse 1.4.7 with SVNKit backend under Eclipse 3.4.1
running Fedora 10 OS. After some intensive SVN operations like
committing and branching Eclipse heap usage raises to some hundred
megabytes. Doing heap dump analysis using Eclipse Memory Analysing Tool
(MAT) some suspicions of memory leak were discovered. Below is MAT Leak
Suspect Report:

> The class "org.tmatesoft.svn.core.javahl.SVNClientImplTracker",
> loaded by "org.tmatesoft.svnkit", occupies 276 222 104 (67,28%)
> bytes. The memory is accumulated in one instance of
> "org.tmatesoft.svn.core.internal.util.SVNHashMap$TableEntry[]" loaded
> by "org.tmatesoft.svnkit".

Looking quickly through Subclipse code, seems like SVNClients are
created but not disposed via dispose() method, so memory leak can be
caused. Is my suspicion right or not?

Thanks, Victor.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2008-12-25 16:43:50 CET

This is an archived mail posted to the Subclipse Users mailing list.