You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by BEELA GAYATRI <be...@tcs.com> on 2022/05/24 09:17:39 UTC

Out of memory while adding cache to data nodes

Dear Team,

    We have requirement to have multiple caches each node ( 4 nodes)  which will add dynamically . Initially it was working fine . After adding 1000 caches on each node we are getting memory exception While adding cache to each node and client node is getting terminated, even though we are increasing the memory for the client node
Initially we have given memory as -Xmx4G and we have increased the memory to -Xmx5G but we are getting different error
 After Restarting the client node again , the cache is adding to all the nodes.

 Please find the logs
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: Out of memory while adding cache to data nodes

Posted by Charlin S <Ch...@hotelhub.com>.
Hi,

Looks like server nodes are down. Please increase the data region size and
try. sample configuration is below.

#configured 8gb as data region, should be added in server configuration
<property name="dataStorageConfiguration">
            <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                <property name="defaultDataRegionConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="name" value="Common_StaticCache_Data_Region"/>
                        <property name="initialSize" value="#{1L * 1024 *
1024 * 1024}"/>
                        <property name="maxSize" value="#{*8L* * 1024 *
1024 * 1024}"/>
                    </bean>
                </property>
            </bean>
</property>

Regards,
Charlin


On Tue, 24 May 2022 at 14:48, BEELA GAYATRI <be...@tcs.com> wrote:

> Dear Team,
>
>     We have requirement to have multiple caches each node ( 4 nodes)
> which will add dynamically . Initially it was working fine . After adding
> 1000 caches on each node we are getting memory exception While adding cache
> to each node and client node is getting terminated, even though we are
> increasing the memory for the client node
> Initially we have given memory as -Xmx4G and we have increased the memory
> to -Xmx5G but we are getting different error
>  After Restarting the client node again , the cache is adding to all the
> nodes.
>
>  Please find the logs
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>