Ok, it is embedded.  But the host is shared as well so what are the typical 
memory sizes that you suggest?  I mean what if the host has 128GB of RAM... 
are you suggesting that the cache be set at over 100GB?  More realistically 
what if I just use 1GB of ram?  What will happen when 1GB is reached?  Is 
OrientDB performing proper memory management or will the server crash?  

Currently the off heap usage is growing over time from ~0.2GB to 3.0GB at 
which time it becomes unresponsive so I'm not sure if the memory is 
properly managed.  The usage on those servers is very consistent and 
relatively constant so i wouldn't expect much change.

On Thursday, October 9, 2014 6:29:56 AM UTC-4, Lvc@ wrote:
>
> Hi all,
> the rule is, if your memory is *X*, then the suggested cfg is:
> - *max-heap* = from 256 to 512 if run as server, higher if OrientDB is 
> embedded, because the JVM is shared so your app could need more heap
> -* disk-cache* = X - max-heap
>
> Lvc@
>
>
>
> On 9 October 2014 08:51, Andrey Lomakin <lomakin...@gmail.com 
> <javascript:>> wrote:
>
>> Hi,
>>
>> You should set as much as you have RAM in such way that part of the 
>> memory will not be in swap.
>>
>>
>> On Wed, Oct 8, 2014 at 10:37 PM, odbuser <odbu...@gmail.com <javascript:>
>> > wrote:
>>
>>> I wasn't setting this:
>>> storage.diskCache.bufferSize
>>>
>>> But what value should be used?  I can't figure it out from your message 
>>> or documentation.
>>> I use 256MB or 512MB heap.  This particular database is smaller than 
>>> Stefan's and I'm seeing the same issues but not as soon.  I would prefer if 
>>> the database can run in the smallest memory footprint possible as this is 
>>> distributed and the total RAM footprint could be extremely large.
>>>
>>>>   -- 
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "OrientDB" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to orient-databa...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Best regards,
>> Andrey Lomakin.
>>
>> Orient Technologies
>> the Company behind OrientDB
>>
>>  -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to orient-databa...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to