jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: JackRabbit import performance
Date Mon, 16 Oct 2006 15:06:08 GMT
Hi,

On 10/16/06, Marcin Nowak <marcin.j.nowak@comarch.com> wrote:
> Recently I've tested JackRabbit on importing XML files using
> Session.ImportXML(String, InputStream, int). I've noticed that importing
> causes huge increase in memory usage of JackRabbit /on 1 MB file about 550MB
> of RAM and import time ca. 3:30 min/ did anyone else tested importing
> performance of JackRabbit? What is the biggest file you have successfully
> imported to JackRabbit? What causes the problem and so huge memory usage?

Session.importXML() imports content through the transient space of the
session, i.e. all the imported content is stored in memory before a
Session.save() call is made to persist the transient changes.

Try using Workspace.importXML() to have the imported content persisted directly.

BR,

Jukka Zitting

Mime
View raw message