Hi Satyajit,

Yes, the explanation in the Stackoverflow answer is correct.
Data regions are allocated in offheap (unmanaged heap) memory, so Xms/Xmx
settings are not relevant.

For example, there are production setups out there with Xmx16G and data
regions approaching terabyte size.

On Fri, Aug 25, 2023 at 6:38 AM <[email protected]> wrote:

>
>
> Hi  Pavel,
>
>
>
> Can  you please confirm if  below explanation  is  correct in
> stackoverflow regarding  offheap and  onheap  settings.
>
>
>
>
> https://stackoverflow.com/questions/52977420/how-to-set-off-heap-or-on-heap-memory-in-apache-ignite
>
>
>
> *In your case, you're committing more memory to Ignire than you have. You
> commit 12GB off-heap + 15GB heap = 27GB, which is obviously more than your
> 16 GB RAM.*
>
>
>
> Regards
>
> Satyajit
>
>
>
>
>
> *From:* Mandal, Satyajit: IT (PUN)
> *Sent:* Thursday, August 24, 2023 9:19 PM
> *To:* Pavel Tupitsyn <[email protected]>
> *Cc:* [email protected]
> *Subject:* Query regarding JVM and GC settings with Ignite .NET
>
>
>
> Hi  Pavel,
>
>
>
> Have  query  regarding  JVM  and  GC settings.  If  my  data region  has
> requirement  of  20 GB ( MAX  size)  then  we will  need  to  set  -Xmx as
> more  than  20G?  We faced  Java.lang.outofMemory exception  so  wanted
> to  confirm  abt  the JVM  tuning?
>
>
>
>
> https://ignite.apache.org/docs/latest/perf-and-troubleshooting/memory-tuning#java-heap-and-gc-tuning
>
>
>
>
>
>
>
>
>
> -server
>
> -Xms10g
>
> *-Xmx24g*
>
> -XX:+AlwaysPreTouch
>
> -XX:+UseG1GC
>
> -XX:+ScavengeBeforeFullGC
>
> -XX:+DisableExplicitGC
>
>
>
> Regards
>
> Satyajit
>
> Barclays Execution Services Limited registered in England. Registered No.
> 1767980. Registered office: 1 Churchill Place, London, E14 5HP
>
> Barclays Execution Services Limited provides support and administrative
> services across Barclays group. Barclays Execution Services Limited is an
> appointed representative of Barclays Bank UK plc, Barclays Bank plc and
> Clydesdale Financial Services Limited. Barclays Bank UK plc and Barclays
> Bank plc are authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority. Clydesdale Financial Services Limited is authorised and
> regulated by the Financial Conduct Authority.
>
> This email and any attachments are confidential and intended solely for
> the addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email
> in error, please notify the sender and immediately delete it and any
> attachments from your system. Do not copy, use, disclose or otherwise act
> on any part of this email or its attachments.
>
> Internet communications are not guaranteed to be secure or virus-free. The
> Barclays group does not accept responsibility for any loss arising from
> unauthorised access to, or interference with, any internet communications
> by any third party, or from the transmission of any viruses. Replies to
> this email may be monitored by the Barclays group for operational or
> business reasons.
>
> Any opinion or other information in this email or its attachments that
> does not relate to the business of the Barclays group is personal to the
> sender and is not given or endorsed by the Barclays group.
>
> Unless specifically indicated, this e-mail is not an offer to buy or sell
> or a solicitation to buy or sell any securities, investment products or
> other financial product or service, an official confirmation of any
> transaction, or an official statement of Barclays.
>

Reply via email to