0005083: setup impossible with memory_limit = -1 (cherry picked from commit 8f12acf)
use dataProvider for memory limit definitions in unit test (cherry picked from commit 291fd6d)