Sorry for necroing this thread, but I might have finally found the cause of the memory error and thought it could be usefull for others who have the same problem. I had 'effect_local' in my events. I overlooked the parts in the manual where it says:
Quote:
- it shouldn't perform instructions that can trigger events itself, displace entities, start particles
. Hopefully that is indeed the cause of the error.