XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 15th, 2004, 09:14 AM
latrosicarius latrosicarius is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 75 latrosicarius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 1 m 11 sec
Reputation Power: 5
Send a message via AIM to latrosicarius
How large can an XML file be?

How large can an XML file be?

Can I use one file for a huge datadocument or do I need to split it up into separate XML files? You know how Notepad won't open documents that are larger than like 32000 lines or something -- is there any complications with large files like this as IE reads them?

Thanks in advance,
Matt

Reply With Quote
  #2  
Old June 22nd, 2004, 12:53 PM
latrosicarius latrosicarius is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 75 latrosicarius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 1 m 11 sec
Reputation Power: 5
Send a message via AIM to latrosicarius
bump?

Reply With Quote
  #3  
Old July 1st, 2004, 10:10 PM
takashi0128 takashi0128 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Kuala Lumpur, Malaysia
Posts: 7 takashi0128 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I read in somewhere, that XML files should not be too large or it will get freezed up from the loading. Probably its common sense not to dump all into one single XML file, but then again, using multiple XML files to store different sections of data, would it work?

Reply With Quote
  #4  
Old July 12th, 2004, 02:43 PM
latrosicarius latrosicarius is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 75 latrosicarius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 1 m 11 sec
Reputation Power: 5
Send a message via AIM to latrosicarius
Good point, thanks.

Reply With Quote
  #5  
Old July 16th, 2004, 04:16 AM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
The only real size limit is the one imposed by your operating system. This is likely to be 2GB (that's a common value). As for practical considerations, though, there's almost nothing you could do with a 2GB XML document that wouldn't take a day and month to finish. Go for the smaller files.
__________________
-james

Reply With Quote
  #6  
Old July 18th, 2004, 12:56 PM
kid23 kid23 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 62 kid23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Just to back other's comments.. indeed, the XML file shouldn't be too big, and an xml file as big as 2GB would be poor DB design

Nah, practically, I've made some test with a 20MB xml file (the rom information of games supported by mame, if you're into emulation ), created a basic XSL for it too, and, well, IE takes its time to open it on my P4 2.8 with 1GB of ram.

So the answer is well to use smaller files, and to make sure that file organisation is part of planning your DB design.

I guess that with time, xml parsers will get better at managing bigger files.

Reply With Quote
  #7  
Old September 30th, 2004, 11:20 PM
latrosicarius latrosicarius is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 75 latrosicarius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 1 m 11 sec
Reputation Power: 5
Send a message via AIM to latrosicarius
Thanks guys. Because of what you said, I guess I'll use MySQL or Access for any really big databases I might need. I just liked the structure of XML b/c it is hierarchial(sp?) and easy to organize.

Sorry that I did not answer sooner, but I had no computer for a long time :-(

-Matt

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > How large can an XML file be?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT