You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Nikolai Tikhonov <nt...@apache.org> on 2017/09/08 14:26:52 UTC

Re: Ignite Xmx configuration

Hi Anil,

Yes, you are right.

On Fri, Jul 28, 2017 at 3:29 PM, Anil <an...@gmail.com> wrote:

> Hi Nikolai,
>
>
> So i need to add 4gb + indexes size as cache size for off-heap cache ?
>
> Thanks,
> Anil
>
> On 28 July 2017 at 17:23, Nikolai Tikhonov <nt...@apache.org> wrote:
>
>> Indexes does not include in it. Indexes will occupy extra size.
>>
>> On Fri, Jul 28, 2017 at 12:21 PM, Anil <an...@gmail.com> wrote:
>>
>>> 1.9 version
>>>
>>> On 28 July 2017 at 14:08, Nikolai Tikhonov <nt...@apache.org> wrote:
>>>
>>>> Which versioin ignite do you use?
>>>>
>>>> On Fri, Jul 28, 2017 at 11:12 AM, Anil <an...@gmail.com> wrote:
>>>>
>>>>> Hi Nikolai,
>>>>>
>>>>> One more question- documentation says the indexes are stored in off
>>>>> heap as well for off-heap cache?
>>>>>
>>>>> where does it store ? in the same 4 g (in my case) ? thanks.
>>>>>
>>>>> Regards,
>>>>> Anil
>>>>>
>>>>> On 28 July 2017 at 12:56, Anil <an...@gmail.com> wrote:
>>>>>
>>>>>> Thanks Nikolai.
>>>>>>
>>>>>> On 28 July 2017 at 12:47, Nikolai Tikhonov <nt...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> If you used off-heap cache then entry is not stored in heap memory.
>>>>>>> Hence Xmx is not related with cache size. You need to choose Xmx/Xms based
>>>>>>> on your application requirements (how many object will be created by your
>>>>>>> code). I guess that 2-4 Gb will be enough in your case.
>>>>>>>
>>>>>>> On Fri, Jul 28, 2017 at 9:59 AM, Anil <an...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Team,
>>>>>>>>
>>>>>>>> I have two off-heap caches with 4 gb size (per cache)  in my ignite
>>>>>>>> node.
>>>>>>>>
>>>>>>>> What would be the Xmx setting for ignite node ?
>>>>>>>>
>>>>>>>> is it  2 * 4 + heap required ? or Xmx is not related to any of the
>>>>>>>> cache size ? please clarify. thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Anil
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>