[TYPO3-mvc] ObjectStorage with large quantities of DB-Objects
Nils Blattner
nb at cabag.ch
Tue May 25 08:33:15 CEST 2010
Am 22.05.10 12:09, schrieb Sebastian Kurfürst:
> Hey,
>
> right now, this is not possible.
>
> However, I'd suggest to add an additional Query Setting, where one can
> decide if the objects should be registered in the Identity Map or not.
>
> Does this make sense?
>
> Greets,
> Sebastian
Hey Sebastian
This would make sense indeed.
As an alternative there might be a persistAllAndFlushCache() function on
repositories or something in that direction.
Like that I could periodically check memory_get_usage() and act before I
get a php error.
It's just when you have to load a few thousand rows and process them,
you kinda get to the memory limit quickly. And can't do anything about it.
Greets,
Nils
More information about the TYPO3-project-typo3v4mvc
mailing list