[TYPO3-core] RFC #8649: Bug: No check on memory_limit in class.tx_impexp.php

Steffen Kamper steffen at sk-typo3.de
Mon Jul 14 10:47:39 CEST 2008


"Ingo Renner" <ingo at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1216022917.23817.typo3-team-core at lists.netfielders.de...
>>
>> Hi,
>>
>> i don't think that it's the right way to increase memory for such 
>> memory-expensive script.
>> In fact the script should be optimized not to use so much memory.
>> With mysqldumper, a former project of mine, we had the same problems - 
>> saving GB-databases with memory- and timeout-limits of a normal webspace, 
>> and we solved it by partly doing this and calling the script again to 
>> continue at last position.
>> Some kind of this technique could solve such problems impexp has, same in 
>> EM.
>
> I'm afraid this is not the solution for the EM, too. The better solution 
> for the EM is to use newer techniques to parse the XML that are less 
> memory expensive instead.
>
> See this presentation f.e.: 
> http://www.scribd.com/doc/3288339/rob-richardsstreaming-xml
>
> I also have it as a pdf if you want it.
>
>

Hi Ingo,
that was exactly what i was thinking with the xml in EM, the other technique 
was mentioned to impexp.
It would be great to optimize this most memory-expensive routines ;-)

vg Steffen 




More information about the TYPO3-team-core mailing list