[Typo3-dev] TYPO3 3.7.0 memory usage ?
Ingmar Schlecht
ingmars at web.de
Thu Sep 16 17:01:53 CEST 2004
Martin T. Kutschker schrieb:
> Michael Stucki wrote:
>
>> Hi Sylvain,
>>
>>
>>> Can be 3.7.0 more memory consuming than previous version ?
>>>
>>> My server report a:
>>>
>>> Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to
>>> allocate 40 bytes) in
>>> /home/www/typo3/typo3_src-3.7.0-dev/t3lib/class.t3lib_div.php
>>> on line 1822
>>
>>
>> Yes, you're right. Kasper is aware of this and tries to find a
>> solution for
>> that problem:
Yes, Kasper really takes this problem serious and is trying to find a
solution.
> I suggest to stop doing repeated string concatenations and passing
> around big junks of output in $content, etc.
>
> Another big win would IHMO to use array references rather than copies.
>
> I've seen code in the EM where a part of an assoc is passed (as value)
> to an subroutine just to replace the original value within the array.
> IMHO waste of CPU cycles on an unnecessary copy plus waste of memory.
We have a team project called "Profiling", at least in theory.
Their job was to do exactly to spot those performance killers like the
ones you outlined.
Unfortunately I have never heard of any output from that project (I can
be wrong though).
http://typo3.org/projects/teams-and-projects/?no_cache=1&tx_extrepmgm_pi1%5BprojUid%5D=24
cheers,
Ingmar
More information about the TYPO3-dev
mailing list