[Typo3-dev] Memory issues

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Tue Nov 16 11:20:32 CET 2004


Kasper Skårhøj wrote:
> 
> A side issue to the next version:
> 
> 3.7.0 were scaringly hungry for memory - basically because the locallang
> XML files where so huge and consumed tons of memory on the first hit
> where they were parsed into temporary cache files with backend labels.

I haven't looked at the code (pointers to the relvenat files are 
appreciated), but if you load the whole file in memory and parse it into 
an array, you could try to move to the callback approach.

If somebody tells me where I can change it I may supply a patch. But 
I'll will leave the time/memory profiling for others. My time is rather 
limited in the next time, sorry.

Masi




More information about the TYPO3-dev mailing list