fix initial cache memory allocation
Merge pull request #702 from kutschm/master

fix initial cache memory allocation