From: Stefan du F. <ico...@gm...> - 2010-02-11 20:17:44
|
Hi, >From my preliminary investigation this looks like it was entirely caused by a bug in the default Orbeon configuration for the version of Orbeon we are using. After fixing that issue the memory usage of eXist went *way* down in our performance environment. Hopefully this will also carry over into our production environment. Thanks for your help and clarifications. - Stefan Wolfgang Meier-2 wrote: > > Hi, > >> So: >> - Is this expected? > > Yes. Heap usage will depend on what exactly you are doing (storing or > querying?). When storing documents, eXist uses free memory to buffer > index entries. If you want to limit this, set the attribute > "nodesBuffer" in the db-connection element in conf.xml to a positive > value like 500 or 1000. > >> - What does the 48M and 24M refer to, if not the size of the BrokerPool >> class (this, btw, is the only eXist class I can see that uses any real >> amount of heap) > > Those settings refer to the total size of the low-level page caches of > the btrees and data files used by eXist. As the documentation says, > they should not be set to more than 1/3 of the total memory. It is not > possible to control or predict how much memory will be used by eXist > in total. The main factor here are the queries you run. A slow query > will likely also consume lots of memory. > > BrokerPool represents the database instance. It thus holds references > to the cache manager and other central classes. This explains why it > occupies a larger part of the heap than other classes. > > This is normal and expected. It would be more interesting to know what > happens if you run a query or what the memory intensive operations > are. > > Wolfgang > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- View this message in context: http://old.nabble.com/eXist-heap-usage-not-inline-with-exist-conf.xml-settings-tp27492878p27553836.html Sent from the exist-open mailing list archive at Nabble.com. |