facebook

Slow xml formating with large files

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #250493 Reply

    jroberts
    Member

    I’ve noticed that formating a large xml string is very slow, but if you shrink the window to only a few lines, the formating is only slow for the first couple lines that you can see, then is almost instant. Is there a way to make the formating almost instant without the annoyance of making the window very small?

    Using Gentoo Linux
    MyEclipse 4.1.1
    Eclipse 3.1.2

    #250528 Reply

    Riyad Kalla
    Member

    Can you explain in more detail what you mean… do you mean if you have the window physically maximized, formatting takes more time then if you scrunch it down (visually) to a tiny editor view?

    Can you paste the result of MyEclipse > About > COnfiguration SUmmary for me? Also, how big is this XML file?

    #250609 Reply

    jroberts
    Member

    Yep that’s exactly what I mean. Scrunching the main window with the xml down to a tiny window, by making the console or whatever is in the lower window, take up most of the screen.

    I’ll only run into this if I’m trying to view xml that I’ve pasted from a log file to see whats wrong with my xpath or something. The xml starts as not being formatted at all and all being on one line.

    It’s gets noticable at around 10Kb.

    Below is my config.

    
    *** Date: Tue Apr 18 01:14:20 EDT 2006
    
    *** System properties:
    OS=Linux
    OS version=2.6.14-gentoo-r5
    Java version=1.5.0_06
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 4.1.1 GA
    Build id: 20060228-4.1.1-GA
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Platform
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse RCP
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Java Development Tools
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Plug-in Development Environment
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Project SDK
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /home/captrespect/eclipse/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    6d0005
    -vm
    /opt/sun-jdk-1.5.0.06/bin/java
    
    #250623 Reply

    Riyad Kalla
    Member

    Try and follow this tip and see if it helps: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    #251058 Reply

    jroberts
    Member

    That did indeed make it a lot better. Thanks

    #251060 Reply

    Riyad Kalla
    Member

    I’m glad to hear it.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Slow xml formating with large files

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