Gemalto is now part of the Thales Group, find out more.

You are here

System.gc() and memory management | Thales IoT Developer Community

March 31, 2014 - 9:35pm, 3682 views

Hi... can anyone tell me how System.gc() is implemented for the EGS5, etc. When I issue this command, can I be sure that all garbage is collected? I'm suspicious as it seems to execute very quickly. Also, what should happen when I run out of memory? In my application when free memory gets to about 112K, some of my threads terminate with no warning or Java exception. L