cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Memory Management using Tomcat
Date Thu, 17 Sep 2009 19:54:58 GMT
Well, two orders of magnitude would be 50,000.  :-)

I just made 500 up.  Maybe 2500 is a good number for you.  Maybe 50.
Probably not 50,000.  Like I said, it is kind of black magic and
depends a lot on your requirements and application.  Part of your
requirements are to be leaner in terms of memory usage, so you need to
make the cache smaller.

Maybe this page will help a little?

http://cayenne.apache.org/doc/individual-object-caching.html


On Thu, Sep 17, 2009 at 3:01 PM, Joe Baldwin <jfbaldwin@earthlink.net> wrote:
> 500?  So you are saying I am off by two orders of magnitude.
>
> OK.
>
> I will let you know what the cauldron conjures up.
>
>
>
>
>
> On Sep 17, 2009, at 2:53 PM, Michael Gentry wrote:
>
>> That's probably bigger than you want.  Try 500 just to see how it
>> works.  Adjusting that number is black magic.  :-)
>>
>>
>> On Thu, Sep 17, 2009 at 2:40 PM, Joe Baldwin <jfbaldwin@earthlink.net>
>> wrote:
>>>
>>> Michael
>>>
>>>> What is the size of your object cache?  Look under the DataDomain.  If
>>>> it is a large number, try lowering it.
>>>
>>>
>>> Query Cache Factory: org.apache.cayenne.cache.MapQueryCacheFactory
>>> Size of Object Cache: 10000
>>> Use Shared Cache: checked
>>>
>>> I do not know if 10,000 is small, medium, or large.
>>>
>>> What do you recommend?
>>>
>>> Joe
>>>
>>>
>
>

Mime
View raw message