Fix for query size, using memory size instead of number of characters
Merge pull request #38 from paulogeyer/master

Fix for query size, using memory size instead of number of characters