•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 427,790 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,679 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 2172 | Replies: 1
Ok, so im having data written to an xml file. This xml is regularly written to, so a decent amount of traffic on it. But rarely ever gets viewed.
Right now i read the xml file in with XmlDocument..Load()
Then modify it.
and overwrite using XmlDocument..Save();
Gets the job done perfectly. But i have a few concerns.
Does XmlDocument.Load() put the whole xml document into memory? This file may get large(100mb?) so i dont want to use up a lot of memory if many people are hitting it at once.
And. When many people are hitting it at once. Is there a chance data will be over written/lost if 2 people are using it at once?
What i need help on i guess is a way to directly write at the end of an xml file without loading it. Thanks!
Right now i read the xml file in with XmlDocument..Load()
Then modify it.
and overwrite using XmlDocument..Save();
Gets the job done perfectly. But i have a few concerns.
Does XmlDocument.Load() put the whole xml document into memory? This file may get large(100mb?) so i dont want to use up a lot of memory if many people are hitting it at once.
And. When many people are hitting it at once. Is there a chance data will be over written/lost if 2 people are using it at once?
What i need help on i guess is a way to directly write at the end of an xml file without loading it. Thanks!
•
•
•
•
•
•
•
•
DaniWeb C# Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- help help ehlp help plehp with (xml) (VB.NET)
- Append in xml document (C#)
- append to XML file (Visual Basic 4 / 5 / 6)
- ASP.NET <--> XML <--> VB6.0 (ASP.NET)
- help required for implementing project using JAVA & XML (Java)
- searches appearing as .xml files in windows folder (Windows NT / 2000 / XP / 2003)
- Php parser error when xml version is mentioned (PHP)
Other Threads in the C# Forum
- Previous Thread: Event trigger on leaving a datagrid cell?
- Next Thread: How to COmpare a word file and an XML file



Threaded Mode