|
My programming skills are limited to JScript and DHTML.
I have been using some 3MB plus XML files in a project of mine, which have had memory problems.
This article is of interest, and I wonder if there are any such databases which can be used as an ActiveX control in JScript?
My alternative solution was to write my own JScript slimline parser, which only uses memory as needed. Essentially I still need to load the 3MB text file into memory (which is a big shortcoming), but instead of parsing the file, my firstChild etc methods, search the text string, and return a node which simply stores the start and end points of the node in the XML text string, and methods such as insertBefore splice the main XML text string. Since my project does not demand that I have a large number of nodes in existence at any one time, or major node processing, memory usage is confined to the string, and those light nodes which I do call up.
|