jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Mallabone <lee.mallab...@transactgroup.net>
Subject Re: Create a lot of nodes
Date Thu, 13 Oct 2005 08:50:08 GMT
On Thursday 13 October 2005 09:46, Eugeny N Dzhurinsky wrote:
> Hello!
> I'm trying to create 10! nodes to build repository for performance
> testings, with localfs and object persistence manager. I noticed before I
> call session.save, all data is being kept in memory, thus I'm running in
> OutOfMemoryError. Is there any way to "flush" nodes on disk and clear
> memory?

I do it just by calling session.save() periodically. I haven't checked the 
code to see if that's guaranteed to clear all the memory that was used, but 
it seems to have the desired effect in practice.

Lee.

Mime
View raw message