iteration risk note
iteration risk note

> instead of loading the whole result into memory at once
is not the full truth.

There is a certain risk of processes getting killed due to memory allocation with large iteration. This is caused by result buffering of the client not being visible to PHP and thus not from 'within' the process.

It is not certain that this occurs with all database clients but seems rather likely to at this point.

This is only a proposal for discussion as I am not certain how to best add the information or if to add it at all (was it obvious before?). Personally I got confused by the existing description and didn't notice the memory implication until further investigation using `top` reported the process to run at 3+GB memory while PHP reported 400M real peak usage.
lcobucci/doctrine2,sustmi/doctrine2,gnat42/doctrine2,brabeji/doctrine2,tPl0ch/doctrine2,BlueM/doctrine2,DethCount/doctrine2,jaimz22/doctrine2,PatidarWeb/doctrine2,1ed/doctrine2,easybiblabs/doctrine2,jaimz22/doctrine2,bocharsky-bw/doctrine2,cybermo/doc-tr-ine,Metabor/doctrine2,bookbottles/doctrine2,deeky666/doctrine2,doctrine/doctrine2,PatidarWeb/doctrine2,brenodouglas/doctrine2,TomasVotruba/doctrine2,janlanger/doctrine2,Ocramius/doctrine2,damour/doctrine2,Amrit01/doctrine2,levelfivehub/doctrine2,acrobat/doctrine2,sergeyz/doctrine2,mente/doctrine2,tiger-seo/doctrine2,doctrine/doctrine2,brabeji/doctrine2,mikeSimonson/doctrine2,sergeyz/doctrine2,shieldo/doctrine2,ehimen/doctrine2,nicoschoenmaker/doctrine2,1ed/doctrine2,aivus/doctrine2,tomaszmadeyski/doctrine2,c960657/doctrine2,BenMorel/doctrine2,renan/doctrine2,guiwoda/doctrine2,zeroedin-bill/doctrine2,Ocramius/doctrine2,qu1m/doctrine2,gnat42/doctrine2,localheinz/doctrine2,Tobion/doctrine2,c960657/doctrine2,cyberid41/doctrine2,satomif/doctrine2,xhuberty/doctrine2,tPl0ch/doctrine2,deeky666/doctrine2,hellomedia/doctrine2,aivus/doctrine2,brenodouglas/doctrine2,stof/doctrine2,shieldo/doctrine2,phansys/doctrine2,tomaszmadeyski/doctrine2,deviantintegral/doctrine2,janlanger/doctrine2,DHager/doctrine2,DHager/doctrine2,deguif/doctrine2,javiereguiluz/doctrine2,bigfoot90/doctrine2,guiwoda/doctrine2,Metabor/doctrine2,TomasVotruba/doctrine2,z38/doctrine2,steevanb/doctrine2-fix-persistent-collection-clear,satomif/doctrine2,phansys/doctrine2,rezonant/doctrine2,damour/doctrine2,holtkamp/doctrine2,Tobion/doctrine2,tiger-seo/doctrine2,emiel-silverstreet/doctrine2,cyberid41/doctrine2,SocialbitGmbH/doctrine2,bookbottles/doctrine2,gencer/doctrine2,dag-io/doctrine2,AdactiveSAS/doctrine2,ehimen/doctrine2,renan/doctrine2,hallabro/doctrine2,nicolas-grekas/doctrine2,nicovogelaar/doctrine2,fabiocarneiro/doctrine2,giosh94mhz/doctrine2,Hikariii/doctrine2,cybermo/doc-tr-ine,yurybykov/doctrine2,levelfivehub/doctrine2,acrobat/doctrine2,steevanb/doctrine2-fix-persistent-collection-clear,meeuw/doctrine2,qu1m/doctrine2,javiereguiluz/doctrine2,phansys/doctrine2,issei-m/doctrine2,Majkl578/doctrine2,Tony133/doctrine2,fprochazka/doctrine2,giosh94mhz/doctrine2,Tony133/doctrine2,PowerKiKi/doctrine2,Hikariii/doctrine2,verschoof/doctrine2,mihai-stancu/doctrine2,Sitetheory/doctrine2,bocharsky-bw/doctrine2,vershnik/doctrine2,SocialbitGmbH/doctrine2,localheinz/doctrine2,Amrit01/doctrine2,fprochazka/doctrine2,deguif/doctrine2,verschoof/doctrine2,meeuw/doctrine2,BlueM/doctrine2,beanworks/doctrine2,easybiblabs/doctrine2,Majkl578/doctrine2,gencer/doctrine2,deviantintegral/doctrine2,mihai-stancu/doctrine2,Metabor/doctrine2,sustmi/doctrine2,beanworks/doctrine2,nayluge/doctrine2,mente/doctrine2,emiel-silverstreet/doctrine2,nicovogelaar/doctrine2,zeroedin-bill/doctrine2,PowerKiKi/doctrine2,rezonant/doctrine2,yurybykov/doctrine2,AdactiveSAS/doctrine2,stof/doctrine2,xhuberty/doctrine2,Luwdo/doctrine2,kinncj/doctrine2,Ocramius/doctrine2,issei-m/doctrine2,PatidarWeb/doctrine2,lcobucci/doctrine2,hellomedia/doctrine2,DethCount/doctrine2,nayluge/doctrine2,Luwdo/doctrine2,holtkamp/doctrine2,nicoschoenmaker/doctrine2,dag-io/doctrine2,javiereguiluz/doctrine2,BenMorel/doctrine2,nicolas-grekas/doctrine2,Sitetheory/doctrine2,vershnik/doctrine2,kinncj/doctrine2,mikeSimonson/doctrine2,fabiocarneiro/doctrine2,hallabro/doctrine2,bigfoot90/doctrine2,z38/doctrine2