directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanasaki jiji <>
Subject Re: [ApacheDS] Minimum JVM memory requirements?
Date Fri, 24 Jul 2009 17:06:29 GMT
In my case there really limit.  elecharny seems to have a specific
application in mind.   I tend to do lots of post-production performance
tuning (such is the real world) and thus am interested in what tools are
available to adjust the framework and what is used in the underlying
implementation (white box).   ex: do you use jcs cache (or could the current
caching be swapped out to use JCS or another implemenation)?  Is caching a
fixed percentage of the startup JVM size?  based on entry count?  based on
total size of all entries without reguard to number of items? ...

On Fri, Jul 24, 2009 at 11:51 AM, Emmanuel Lecharny <>wrote:

> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message