directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: [ApacheDS] Minimum JVM memory requirements?
Date Fri, 24 Jul 2009 16:51:28 GMT
hanasaki jiji wrote:
> Does that imply entries are kept memory resident or just that there is a
> cache (and what cache provider?) whose sizing parameters can be tweaked?
>   
There are lot of caches involved in ADS, in many places. Some of those 
caches can be controlled, for instance for the number of entries in 
memory, the same for the index (cacheSize parameters in the server.xml 
file).

However, if you have a limited amount of memory, as this is relying on 
Java, you have no way to control precisely the memory consumption and 
limit it to a specific amount. Although, the less memory you have, the 
less entries you'll have in cache, and teh worst will be your 
performance. You can have a 100x decrease in perf if you hit the disk 
each time you have to grab an entry. You have to be aware of that.

What's exactly is your memory limitation ?

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message