Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
16 MB too much for XMLTOCURSOR()?
Message
De
02/09/2003 11:54:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00825132
Message ID:
00825345
Vues:
20
Yes, I have already considered to write my simple string parser to do this.
Thanks for help...

>Boban,
>
>>I am suprised that this totally kills VFP, I think that isn't to much for processing XML.
>
>It's not killing VFP, it's the XMLDOM that's the problem. It's too much data for the XMLDOM to handle. It is constructing the document in memory and it's size greatly increases. And as I said before it's not a linear function of document size.
>
>If it's a simple XML you can write your own simple string based parser in VFP pretty easily. The new strextract() function makes this pretty trivial, and it would be a lot faster then the XMLDOM.
>
>You might also look at something like SAX.
>
>>There are 4 columns. In two there are 50k rows, and other two are empty.
>>Yes, CPU usage is 100% but usage of memory doesn't increases. In this case there are 100 Mb available memory.
>>I have tried also with 5 MB (10.000 rows) document but it's same as with 16 MB.
>>Any solution?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform