Use long instead of int for max cache size.
Merge pull request #192 from square/dimitris/long-size

Use long instead of int for max cache size.