Hi

Can someone confirm what I am doing this correct for forcing the GC.
I did this on one of our lower environments, 

$ sudo -u ignite jcmd 90341 GC.heap_info
90341:
 garbage-first heap   total 2101248K, *used 1261559K* [0x00000005c0000000,
0x0000000800000000)
  region size 2048K, 172 young (352256K), 3 survivors (6144K)
 Metaspace       used 77269K, capacity 79504K, committed 80892K, reserved
1122304K
  class space    used 7363K, capacity 8207K, committed 8576K, reserved
1048576K
******************************
then ran the below command
******************************
$ sudo -u ignite jcmd 90341 GC.run
90341:
Command executed successfully
********************************
$ sudo -u ignite jcmd 90341 GC.heap_info
90341:
 garbage-first heap   total 2097152K, *used 530847K* [0x00000005c0000000,
0x0000000800000000)
  region size 2048K, 9 young (18432K), 0 survivors (0K)
 Metaspace       used 77195K, capacity 79390K, committed 80892K, reserved
1122304K
  class space    used 7352K, capacity 8187K, committed 8576K, reserved
1048576K

The only difference I see here is

used 1261559K (before)
used 530847K (after)

does that mean, it did collect some objects and heap memory freed up ?
or any better ways of forcing GC ?

Thanks



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

Reply via email to