Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse editor can only open very small XML files?
Eclipse editor can only open very small XML files? [message #898601] Thu, 26 July 2012 16:19 Go to next message
Missing name Mising name is currently offline Missing name Mising name
Messages: 24
Registered: November 2010
Junior Member
Hello, i constantly have this problem in opening XML files in Eclipse. My JVM size is set at 2GB, but i can't even open an XML file that's as large as 8MB. It's not a problem to open small files.


Any ideas? Thanks in advance.
Re: Eclipse editor can only open very small XML files? [message #898665 is a reply to message #898601] Fri, 27 July 2012 02:44 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25744
Registered: July 2009
Senior Member
What happens when you do that? Maybe you're running out of permgen
space and can increase the MaxPermSize values in the eclipse.ini.


On 26/07/2012 10:19 PM, marlonmin wrote:
> Hello, i constantly have this problem in opening XML files in Eclipse.
> My JVM size is set at 2GB, but i can't even open an XML file that's as
> large as 8MB. It's not a problem to open small files.
>
>
> Any ideas? Thanks in advance.
Re: Eclipse editor can only open very small XML files? [message #898905 is a reply to message #898665] Sat, 28 July 2012 23:50 Go to previous messageGo to next message
Javin Paul is currently offline Javin Paul
Messages: 45
Registered: July 2011
Location: mumbai
Member

I also get this problem, Eclipse takes long time to open large xml files. By the way does your xml is in one line or multiple lines ?

Re: Eclipse editor can only open very small XML files? [message #899422 is a reply to message #898905] Tue, 31 July 2012 14:36 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising name
Messages: 24
Registered: November 2010
Junior Member
Multiple lines.
Re: Eclipse editor can only open very small XML files? [message #899424 is a reply to message #898665] Tue, 31 July 2012 14:37 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising name
Messages: 24
Registered: November 2010
Junior Member
Heap size or outofmemory message.

But I have 8GB RAM and Xmx=3G
Re: Eclipse editor can only open very small XML files? [message #899433 is a reply to message #899424] Tue, 31 July 2012 15:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25744
Registered: July 2009
Senior Member
And how much permgen space did you allocate?

On 31/07/2012 8:37 PM, marlonmin wrote:
> Heap size or outofmemory message.
>
> But I have 8GB RAM and Xmx=3G
Re: Eclipse editor can only open very small XML files? [message #899669 is a reply to message #898601] Wed, 01 August 2012 14:00 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2132
Registered: July 2009
Senior Member
Like Ed asks, what actually happens when you try to open this 8MB file?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Eclipse editor can only open very small XML files? [message #899827 is a reply to message #899669] Thu, 02 August 2012 09:38 Go to previous message
Javin Paul is currently offline Javin Paul
Messages: 45
Registered: July 2011
Location: mumbai
Member

Please post the exact error, it may help.

on a different note you may find Altova XML Spy better for dealing with XML files, Though I love Eclipse XML editor, XML spy offers more in terms of XSLT debugging, grid view and better performance with large files.


Previous Topic:Java Training
Next Topic:strange behavior
Goto Forum:
  


Current Time: Thu Apr 17 14:23:44 EDT 2014

Powered by FUDForum. Page generated in 0.03352 seconds