increase 2q cache size if all records are used and cannot be flushed
Merge branch '2qfix' of https://github.com/logart/orientdb into logart-2qfix
Merge of pull request from @logart to fix 2Q Cache concurrency issue.