Documentation ¶ Overview ¶ Package gc provides manual garbage collection to release heap memory. Index ¶ Constants func ManualGC() Constants ¶ View Source const ( GC_SIZE = 50 << 20 // default 50MB ) Variables ¶ This section is empty. Functions ¶ func ManualGC ¶ func ManualGC() ManualGC periodically frees memory from the heap for reuse. Skipped for gust adoption: runtime.ReadMemStats, debug.FreeOSMemory, and time.Tick do not return errors; no error-returning functions to convert. Types ¶ This section is empty. Source Files ¶ View all Source files gc.go Click to show internal directories. Click to hide internal directories.