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

Re: 1.9 JavaHL memory leak in ISVNRemote#status

From: Branko Čibej <brane_at_wandisco.com>
Date: Sat, 21 Mar 2015 16:23:37 +0100

On 19.03.2015 11:43, Marc Strapetz wrote:
> Attached example performs an endless series of remote status against
> the Subversion repository. When invoked with -Xmx24M, the VM will run
> out of memory soon. Monitoring with jvisualvm shows that the used heap
> size constantly grows. Monitoring with the Task Manager shows that the
> allocated memory grows even more (significantly). Looks like a memory
> leak, for which a large amount of native memory is involved, too.
> Tested on Windows 8.1 with almost latest Subversion 1.9 JavaHL builds.

I can confirm that this happens on the Mac, too, and it's not a garbage
collector artefact. I'm trying to trace where the leak is happening ...
valgrind with APR pool debugging doesn't tell me much (no surprise there).

-- Brane
Received on 2015-03-21 16:24:55 CET

This is an archived mail posted to the Subversion Dev mailing list.