Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

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

March 31, 2014 - 9:35pm, 3536 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