ez publish running over/out php memory limit

If you have a script to download all users or something with lots of rows and are running out of memory, even after having increased the limits a few times, then you may want to throw this into one of your loops:

eZContentObject::clearCache();

to free up some memory caching that ez does.