Skip to content

Instantly share code, notes, and snippets.

View lenta-platform's full-sized avatar

lenta-platform

View GitHub Profile
@j33ty
j33ty / print-memory.go
Created May 22, 2019 20:54
Go print current memory
package main
import (
"runtime"
"fmt"
"time"
)
func main() {
// Print our starting memory usage (should be around 0mb)