to manage memory usage for large result sets (#2828). Attention! Do not cast the return value of kolab_storage_folder::select() calls into an array anymore.