Consultor Eletrônico



Kbase P88205: How much memory do you need to generate a XML report where the data is 100Mb?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/07/2004
Status: Unverified

GOAL:

How much memory do you need to generate a XML report where the data is 100Mb?

FIX:

It depends on what you are using for generating the report.

If you are generating it from DOM, then you need to have the entire 100Mb in memory.

If you know what you are looking for in the report, you could use SAX to get only the parts of the document that you need for the report which would require less memory.

If you are using XSLT for report generation, how much memory you may need will depend on how well the stylesheet is written, how the data is organize in the document and how much memory consumption the XSLT processor requires.