[TYPO3-mvc] findOneBy memory usage

Saverio Vigni s.vigni at hor-net.com
Wed Jul 18 15:38:34 CEST 2012


Yes right sorry about that, but it still needs to manage 2500 objects, 
there should be a way to discard an object i know i won't use anymore, 
why does the property mapper need to keep track of every object i've used?

Saverio

Il 18/07/12 14.08, Oliver Klee ha scritto:
> Hi,
>
> Am 18.07.2012 12:42, schrieb Saverio Vigni:
>> registerObject stores the object twice:
>>
>> $this->objectMap[$object] = $uuid;
>> $this->uuidMap[get_class($object)][$uuid] = $object;
> These are only references to the object (since PHP 5). The object still
> resides in memory only once.
>
>
> Oli




More information about the TYPO3-project-typo3v4mvc mailing list