This patch fixes below * Remove global variables globalMaxCacheSize and globalCacheExpiry. * Make global variables into constant in objcache package.
This patch addresses below * go build works for bsd family * probe total RAM size for bsd family * make unit testable functions