473,473 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Is there a maximum file size that DOMXML can handle?

Hi,

I am about to write an app that loads an XML file into memory and then
outputs it. Anyway, the XML file is likely to grow and grow. Its
sitting at about 37KB just now and is likely to double every 6 months.
Should I be concerned?

Cheers

Burnsy

Nov 22 '05 #1
4 2299
Sorry, worded that wrong. Instead of doubling every 6 months I meant
grow at that rate (eg. 37KB larger every 6 months)

Burnsy

Nov 22 '05 #2
can you intentionally start increasing it at warp speed? Try standard
barriers, like 65k, 2m, 1g, memory of the machine, etc.

If you can pass 10m, why is it getting that big? :D

-khai
p.s - i'm not an expert, just a tinkerer, and like to test stuff.
"bizt" <bi******@yahoo.co.uk> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Sorry, worded that wrong. Instead of doubling every 6 months I meant
grow at that rate (eg. 37KB larger every 6 months)

Burnsy

Nov 22 '05 #3
bizt said the following on 17/11/2005 11:37:
Hi,

I am about to write an app that loads an XML file into memory and then
outputs it. Anyway, the XML file is likely to grow and grow. Its
sitting at about 37KB just now and is likely to double every 6 months.
Should I be concerned?


If you are just loading it in and then outputting it, why do you need
DOM XML?

However, DOM parser loads and processes the whole file in memory. So if
you are doing processing, and your XML file is very large (I don't know
what this threshold is), it's generally recommended that you use
event-based parsing, e.g. xml_parser_create(),
xml_set_element_handler(), etc.
--
Oli
Nov 22 '05 #4
> it's generally recommended that you use
event-based parsing, e.g. xml_parser_create(),
xml_set_element_handler(), etc.


Im not too familiar with these commands but the XML file is very
simple, maybe someone can help me out...

XML:

<?xml...
<root>
<name age="25">Martyn</name>
<name age="24">Neil</name>
<name age="24">Robbie</name>
</root>
All I want to do is to output them as:

Martyn (25)
Neil (24)
Robbie (24)
How would I do this?

Cheers

Burnsy

Dec 6 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: srommens | last post by:
Hello, When I try to do : URI = <xsl:value-of select="//@URI"/><br/> <xsl:if test = "//@URI != '5-42922'">not equal</xsl:if><br/> <xsl:if test = "//@URI = '5-42922'">equal</xsl:if><br/> ...
5
by: bissatch | last post by:
Hi, I have just managed to install DOMXML on my apache/PHP setup. I am running PHP 4.3.0 and Apache2. $xmldoc = domxml_open_file("inc/menu.xml", DOMXML_LOAD_DONT_KEEP_BLANKS); When I try...
7
by: Joey C. | last post by:
Hello, I'm designing a small "briefcase" program that will allow me to quickly upload, download, and delete files in a briefcase. The only real things that I have left to do are to design a...
2
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
11
by: Walter Dnes (delete the 'z' to get my real address | last post by:
I've noticed a few threads (full of sound and fury, signifying nothing) here recently about allocation of large memory blocks. I'm about to start on a personal pet project where I'll be using...
19
by: Jerry | last post by:
I am wondering what is the maximum size of memory that malloc() could handle. Is there any limitation on that? Where am I supposed to get this kind of information? Thank you everybody.
2
by: Jacky Kwok | last post by:
Dear all: I know how to use the "Application_Error" in "Global.asax" to catch the exception and display my own error message page. However, I found "Application_Error" cannot handle the error...
11
by: Chris Hayes | last post by:
Greetings, I have an ASP.NET page that accepts input from an HtmlInputFile object. I have set the maximum size for HttpRequests to 2MB in the web.config file. And now I am trying to CATCH...
23
by: Gerrit | last post by:
Hi all, I'm getting an OutOfMemoryException when I initialize a byte array in C# like this: Byte test = new Byte; I'm using ASP.NET 2.0. In ASP.Net 1.1 it works fine. So what am I doing...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.