Fix mem for non global zone on SmartOS