facebook

Open XML relatively large files with MyEclipse XML Editor

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #267583 Reply

    portai
    Member

    Is it any crtical size of the xml files to be opened with MyEclipse XML Editor?
    I don’t have any problem when (my experience) I open files that have size up to 1 MB.
    When I try to load a file that has a size over 1 MB the IDE getts frozen…I need to shot it down to be able to continue to work…
    The same file can be easily opened using a TextEditor…but this doesn’t give an ability to use all the benefits of the XML editor, like the …
    Is that a common problem?
    Any suggestions?
    Any workaround options?
    Thanks a lot!

    #267588 Reply

    Scott Anderson
    Participant

    portai,

    It’s probably the memory settings that you’re using (or not using) to start MyEclipse that is causing the issue. Here’s an FAQ entry with the recommended settings: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087-highlight-memory.html

    #267678 Reply

    portai
    Member

    @support-scott wrote:

    portai,

    It’s probably the memory settings that you’re using (or not using) to start MyEclipse that is causing the issue. Here’s an FAQ entry with the recommended settings: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087-highlight-memory.html

    Here are my settings:
    C:\eclipse\eclipse.exe -product com.genuitec.myeclipse.product.ide -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -Dosgi.splashLocation=”C:\Program Files\MyEclipse 5.1.1 GA\eclipse\MyEclipseSplash.bmp”

    It doesn’t show ANY error message, just gets frozen…

    As I understand, the text editor has the same memory settings as the XML editor has, doesn’t it?
    But, the problem occurs just with XML, more presisely – with files of size over 1 MB….

    #267692 Reply

    Scott Anderson
    Participant

    Interesting. Those settings look just fine. Would it be possible for you to send us a test file that exhibits the problem and a set of steps to replicate the freezing? If we can do that, we can likely figure out how to fix it.

    Another thing to try in the interim is to turn off ‘errors as you type’ since that might be an issue with the size of the document. You can do that by unchecking the preference at Window > Preferences > MyEclipse > Files & Editors > Common Editor Preferences > ‘Report problems as you type’. You might also want to try the ‘Validation’ link at the same spot and turn off XML validation either with or without the other change to see if either, or both, is the cause of the issue.

    #267761 Reply

    portai
    Member

    Thanks for the reply!
    Unfortunately, the files I’m having problems with are our customer’s data files with confidential information – I can’t send them out…
    To replicate the problem – just try to open any XML file with a size of about 1.5 MB with MyEclipse XML Editor…
    I bet you will see the problem…
    I’ll try all your suggestions and will post the results.
    Thanks again!

    #267770 Reply

    Scott Anderson
    Participant

    Please let us know if the workarounds have an effect. Also, to get around the confidentiality issue with the XML file, could several search/replace all’s be made to change confidential information to garbage? Finding a 1.5MB XML file isn’t as easy as you might think. 😉

    #267833 Reply

    portai
    Member

    I’ll try :-)…
    For me is a kind of a problem to find on less then 1 MB…

    #267858 Reply

    Scott Anderson
    Participant

    For me is a kind of a problem to find on less then 1 MB…

    Wow!

    #267860 Reply

    portai
    Member

    First of all – it looks like to uncheck the Window > Preferences > MyEclipse > Files & Editors > Common Editor Preferences > ‘Report problems as you type’ made it better…
    It takes a while until the file is loaded, but the good news is that the IDE did not hang up…
    I have prepared a file, but, unfortunately, can’t find how to attach it to the message.
    If you can help – I would me more then happy to provide it…

    #267865 Reply

    Scott Anderson
    Participant

    portai,

    Please zip the file into an archive and email it to support at myeclipseide.com. Also, please include the URL to this thread in case it isn’t me that receives the email so they can check what it’s for. Thanks again for helping diagnose this. I’m pleased the workaround seems to help.

    #268367 Reply

    portai
    Member

    Is it any update on this?
    I can now provide a sample that I can build from a 20+ MB data file…

    #269492 Reply

    portai
    Member

    Is it any update on this?

    #269533 Reply

    Riyad Kalla
    Member

    This has been targetted for our 6.0 release which will be based on Eclipse 3.3 and contain a fairly major editor update across the board. Sorry for the delay guys.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Open XML relatively large files with MyEclipse XML Editor

You must be logged in to post in the forum log in