Changing the memory limit is never a solution. I agree with your choice - just avoid inlining the code ;-)