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 20:19 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 25
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 06:44 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
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] Sun, 29 July 2012 03:50 Go to previous messageGo to next message
Javin Paul is currently offline Javin PaulFriend
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 18:36 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 25
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 18:37 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 25
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 19:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
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 18:00 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2333
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 13:38 Go to previous message
Javin Paul is currently offline Javin PaulFriend
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: Mon Nov 24 07:07:21 GMT 2014

Powered by FUDForum. Page generated in 0.03219 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software