[Bug 17415] several tests crash if +heap enabled