Use long for redis memory size.