estimate cache size of koptcontext
This should fix #285.
Merge pull request #288 from chrox/master

estimate cache size of koptcontext