You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by siva <si...@bizruntime.com> on 2019/07/04 05:18:02 UTC
How to increase Heap Space for Ignite Server in .Net Core?
Hi,
I am using Apache Ignite 2.7.5 And .net core v2.2.103.
While loading data through .net core client heap space getting increase.so
for that i am trying to set more heap space.
I have tried to set Heap space from command line with running exe by using
below command.
C:\igniteapp\IgniteApp\bin\Release\netcoreapp2.2\win10-x64\publish>IgniteApp.exe
-server -Xms10g -Xmx15g -XX:+AlwaysPreTouch -XX:+UseG1GC
-XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC -J-Xms8g -J-Xmx30g
but it is not applying to application.
[02:45:33] Topology snapshot [ver=1, locNode=115679d9, servers=1, clients=0,
state=INACTIVE, CPUs=16, offheap=11.0GB, heap=12.0GB]
Please Anyone help me.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
RE: How to increase Heap Space for Ignite Server in .Net Core?
Posted by siva <si...@bizruntime.com>.
Yeah,exactly i have passed properties from vm arguments.it's working.
Thank You.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
RE: How to increase Heap Space for Ignite Server in .Net Core?
Posted by Alexandr Shapkin <le...@gmail.com>.
Hi,
You can pass JVM arguments only to official standalone executable that actually takes care of the CLI arguments you provided.
More information here https://apacheignite-net.readme.io/docs/standalone-nodes#section-configuring-standalone-node-via-command-line
For your IgniteApp.exe you have several options:
1) App.config
<igniteConfiguration xmlns="http://ignite.apache.org/schema/dotnet/IgniteConfigurationSection">
<JvmOptions>
<string>-Xms8g</string>
<string>-Xmx30g</string>
...
</JvmOptions>
2) Code
var config = new IgniteConfiguration
{
JvmOptions = new List<string> {"-XX:+UseG1GC", "-XX:+DisableExplicitGC", "-Xms8g",
...
}
From: siva
Sent: Thursday, July 4, 2019 8:18 AM
To: user@ignite.apache.org
Subject: How to increase Heap Space for Ignite Server in .Net Core?
Hi,
I am using Apache Ignite 2.7.5 And .net core v2.2.103.
While loading data through .net core client heap space getting increase.so
for that i am trying to set more heap space.
I have tried to set Heap space from command line with running exe by using
below command.
C:\igniteapp\IgniteApp\bin\Release\netcoreapp2.2\win10-x64\publish>IgniteApp.exe
-server -Xms10g -Xmx15g -XX:+AlwaysPreTouch -XX:+UseG1GC
-XX:+ScavengeBeforeFullGC -XX:+DisableExplicitGC -J-Xms8g -J-Xmx30g
but it is not applying to application.
[02:45:33] Topology snapshot [ver=1, locNode=115679d9, servers=1, clients=0,
state=INACTIVE, CPUs=16, offheap=11.0GB, heap=12.0GB]
Please Anyone help me.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/