Forums / Developer / How to build an update CLI script without memory problem ? / Comment51101
Łukasz Serwatka
Tuesday 05 May 2009 3:55:16 am
Hi,
You are fetching ALL users objects from DB without limit. I would rebuild your script to fetch e.g by 25 users using limit and offset. That should do the trick.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog