File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "opening 200Mb xml file" Watch "opening 200Mb xml file" New topic

opening 200Mb xml file

arun N

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

Joined: Mar 22, 2000
Posts: 13037
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?
cameron weirs

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

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
I agree. Here's the link:
subject: opening 200Mb xml file
It's not a secret anymore!