Hi Dmitry,

this is the code:

InputStream inputStream = new BufferedInputStream(new FileInputStream(dumpFile));

clientManager.getAdminClient().doLoad(repositoryRoot, inputStream);

Can it be the reason that we still use svnkit-1.3.7?

Zsolt

On 04.07.2013 22:14, Dmitry Pavlenko wrote:
SVNAdminClient.doLoad uses InputStream#read (without arguments) function to 
read the stream. Could
you please make sure that your InputStream is buffered (otherwise maybe SVNKit 
reads from disk every
next byte)?

--
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git-svn bridge

Hi,

on my PC it takes approx 2 minutes loading a 700MB dump file using
SVNAdminClient.doLoad(File repositoryRoot, InputStream dumpStream).

To load exact the same dump takes more then 2 hours on a strong Redhat
server.

Any ideas how it is possible and how to fix it?

We use: SVNKit-1.3.7 r8274

My java:

OpenJDK Runtime Environment (IcedTea6 1.12.5)
(6b27-1.12.5-0ubuntu0.12.04.1) OpenJDK 64-Bit Server VM (build 20.0-b12,
mixed mode)

Java on Redheat:

JVM: Sun Microsystems Inc.;1.6.0_24;20.0-b12; OpenJDK 64-Bit Server

Thank you for your help.

Zsolt

Reply via email to