It might be a misconfiguration somewhere. Somebody should look at the way we use these caches.

On 4/10/07, Arnaud Thimel < thimel@codelutin.com> wrote:
Hi all,

I kept searching about my problem.

@Pablo
I tried to use profiling with Hprof and jmap+jhat. But the information I
got, didn't allow me to solve my problem.

@Youcef
Sorry, I forgot to mention that I was already able to import all my DB,
but I need to set the maximum heap size to more than 1.5Go !!!

@Sébastien
You found the thing I was missing :) When I flush the xwiki caches, I
now also flush the "classCache" and "archiveCache" from the XWikiContext.
I can now import my thousands of objects using only the default heap
size (64Mo).

Anyway, I don't know how, but XWiki could be improved by increasing the
way we use these caches.

Thanks all, and best regards.

Arnaud.



--
http://purl.org/net/sergiu