[xwiki-dev] Possible memory leak ?
Sébastien Gaïde
sgaide at gmail.com
Sat Apr 7 08:46:07 CEST 2007
Arnaud Thimel a écrit :
> Hi all,
Hi Arnaud,
> Anyway, the amount of memory used doesn't go down after flushing the
> caches.
> And I still get my Heap Space exception.
>
I don't know if it's related to your problem, but I remember that I had
to flush some caches in XWikiContext (classCache, archiveCache) when I
was using the same XWikiContext to create a heap of pages. As you can
see in the code these two caches are always used to add some objects in
them, nether to remove them.
The two caches are not accessible by default, so you will have to add
some code in XWikiContext to flush them.
HTH,
Seb.
More information about the devs
mailing list