2

In many Java garbage collectors, free unused memory is never handed back to the operating system for other processes to use.

Does the Go language GC occasionally and release memory to the OS?

metasim
  • 4,793
  • 3
  • 46
  • 70
Ztyx
  • 14,100
  • 15
  • 78
  • 114
  • You are right. Closing this. – Ztyx May 07 '16 at 06:05
  • 1
    it's not the garbage collectors job to release memory to the system. There is a separate heap scavenger which notifies the OS when blocks of memory are no longer needed. – JimB May 07 '16 at 11:44

0 Answers0