Testing with memory consumption limited