func sysTotalMemory() int {
	s, err := sysctlUint64("hw.memsize")
	if err != nil {
		logger.Panicf("FATAL: cannot determine system memory: %s", err)
	}
	return int(s)
}
// This has been adapted from github.com/pbnjay/memory.
This has been adapted from github.com/pbnjay/memory.
// This has been adapted from github . com / pbnjay / memory .
func sysTotalMemory() int {
	s, err := sysctlUint64("hw.memsize")
	if err != nil {
		logger.Panicf("FATAL: cannot determine system memory: %s", err)
	}
	return int(s)
}
func sysTotalMemory ( ) int { s , err := sysctlUint64 ( " " ) if err != nil { logger . Panicf ( " " , err ) } return int ( s ) }
This has been adapted from github.com/pbnjay/memory.
This has been adapted from github . com / pbnjay / memory .