ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen <naveen.band...@gmail.com>
Subject Trying to pass memory arguments to Ignite.sh - ./bin/ignite.sh -J -Xms2g -Xmx10g -v config/IgnitePOC-NoCacheInfo.xml
Date Fri, 15 Dec 2017 12:24:48 GMT

Am using 2.3
I am trying to run some tests with eviction, seems eviction only works when
we use on-heap memory, so I was trying to keep 1 million records in on-heap
and start evicting. 
Getting GC overlimit exceeded, so trying to increase heap by passing memory
arguments to ignite.sh

./bin/ignite.sh -J -Xms2g -Xmx10g -v config/IgnitePOC-NoCacheInfo.xml

Ignite Command Line Startup, ver. 2.3.0#20171028-sha1:8add7fd5
2017 Copyright(C) Apache Software Foundation


>>>    __________  ________________
>>>   /  _/ ___/ |/ /  _/_  __/ __/
>>>  _/ // (7 7    // /  / / / _/
>>> /___/\___/_/|_/___/ /_/ /___/
>>> ver. 2.3.0#20171028-sha1:8add7fd5
>>> 2017 Copyright(C) Apache Software Foundation
>>> Ignite documentation: http://ignite.apache.org

[17:44:42,360][INFO][main][IgniteKernal%IgnitePOC] Config URL:
[17:44:42,360][INFO][main][IgniteKernal%IgnitePOC] Daemon mode: off
[17:44:42,361][INFO][main][IgniteKernal%IgnitePOC] OS: Linux
3.10.0-693.11.1.el7.x86_64 amd64
[17:44:42,361][INFO][main][IgniteKernal%IgnitePOC] OS user: tibusr
[17:44:42,361][INFO][main][IgniteKernal%IgnitePOC] PID: 49645
[17:44:42,362][INFO][main][IgniteKernal%IgnitePOC] Language runtime: Java
Platform API Specification ver. 1.8
[17:44:42,362][INFO][main][IgniteKernal%IgnitePOC] VM information: Java(TM)
SE Runtime Environment 1.8.0_151-b12 Oracle Corporation Java HotSpot(TM)
64-Bit Server VM 25.151-b12
[17:44:42,365][INFO][main][IgniteKernal%IgnitePOC] VM total memory: 0.96GB
[17:44:42,366][INFO][main][IgniteKernal%IgnitePOC] Remote Management
[restart: on, REST: on, JMX (remote: on, port: 49170, auth: off, ssl: off)]
[17:44:42,371][INFO][main][IgniteKernal%IgnitePOC] VM arguments: [-Xms1g,
-Xmx1g, -XX:+AggressiveOpts, -XX:MaxMetaspaceSize=256m,
-Dcom.sun.management.jmxremote, -Dcom.sun.management.jmxremote.port=49170,
[17:44:42,371][INFO][main][IgniteKernal%IgnitePOC] System cache's DataRegion
size is configured to 40 MB. Use
DataStorageConfiguration.systemCacheMemorySize property to change the

How did it decide that total VM memory is 0.96GB. Its a 30GB VM and below is
the free -h output
*[17:44:42,365][INFO][main][IgniteKernal%IgnitePOC] VM total memory: 0.96GB*

[tibusr@JMNGD1BAQ10V03 apache-ignite-fabric-2.3.0-bin]$ free -h
              total        used        free      shared  buff/cache  
Mem:            30G        620M         27G        1.1G        3.0G        
Swap:            0B          0B          0B
[tibusr@JMNGD1BAQ10V03 apache-ignite-fabric-2.3.0-bin]$

This is  the log snippet, why the heap is not getting changed though I am
passing -Xms and -Xmx arguments.

>>> CPU(s): 8
>>> Heap: 1.0GB
>>> VM name: 49645@JMNGD1BAQ10V03
>>> Ignite instance name: IgnitePOC

Anything wrong I am doing.


Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message