Mserver returns with "memory exhausted in" error if query size exceeds 1.2MB