We noticed when we upgraded from 1.3.5 to 1.7.4  we now have 2 G of memory that 
cannot be reclaimed by the garbage collector.  Specifically string reference 
are being held by org.tigris.subversion.javahl.DirEntry and 
org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions. I am not sure if this is 
a bug  in svnkit or an issue with our implementation.  In our code we are only 
creating one instance of SVNClientManager and SVNClientImpl that will remain 
referenced for the life of the application.  It would be helpful if we had 
sample code available on how to manage the sessions of these classes.  For 
example, when should we call dispose() on these objects?   Will  this free up 
the static references? I looked on the wiki, but the only examples I found  
were for the low level SVNRepo API.  For reference, here is the svnkit wiki I 
am refrencing:
http://wiki.svnkit.com/Main


Thanks,
Neil

Reply via email to