This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes opening 200Mb xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "opening 200Mb xml file" Watch "opening 200Mb xml file" New topic
Author

opening 200Mb xml file

arun N
Greenhorn

Joined: Dec 27, 2001
Posts: 3
Hi xml gurus,
I have an xml file which is 200Mb in size. I want to open on a PC but I cannot because my PC has 128 memory RAM. So if I try to open in a notepad, textpad or wordpad it hangs.
Can you tell me a way to open it.
Thanks in advance
Arun Nair
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13005
    
    5
There are editors suitable for opening files bigger than memory, but do you have to have the entire file available for editing or do you just need to make a change at a specific location?
Bill
cameron weirs
Greenhorn

Joined: May 29, 2001
Posts: 9
Hi!
Please try to open the file on vi editor on solaris or bsd .
regards'
arun N
Greenhorn

Joined: Dec 27, 2001
Posts: 3
I want to have the whole file for editing. I use Windows and not unix. SO I need to open the file on windows. Hope you can help me out
Val Pecaoco
Ranch Hand

Joined: Dec 05, 2001
Posts: 156
Hi Arun,
If I may ask, how exactly did you come up with a 200-MB XML file? Did you extract a whole database then convert it to XML? If that is the case, then I think you may have just to re-extract it, but this time break it down recordset by recordset of say, a thousand records, so that you'll have a handful of relatively small XML files that can be loaded into WordPad or NotePad.
Ex Animo Java!
-- Val


"Knowledge is power, but enthusiasm is the key." -- Lavern Barn
 
wood burning stoves
 
subject: opening 200Mb xml file
 
It's not a secret anymore!