add map size to exception message
Merge pull request #1245 from ahmetmircik/issue1198

Issue #1198