Parsing Very Slow on Node with 1MB of content

Hi,
I am processing and XML file that has one node that has a lengthy content string in it. The content string is actually HTML with the various escape sequences in place, but no additional XML nodes. So it looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<value>
~1MB of escaped HTML here
</value>
This is very slow (several minutes) parsing it into a DOM as well as just using the SAX parser. I am using JDK 1.3.1 and have tried both the 1.4.4 and 2.4 versions of Xerces. The problem does not appear to be the escape characters since we have tried changing the node content to base 64 encoding with slower results.
Any help will be greatly appreciated.
MR

Mind you, minutes for 1Mb seems extreme by any measure.
If the document is really that simple, then you can process it directly without going through an XML parser.
Sylvia.

Similar Messages

  • Lion very slow starting apps with Firewire 800 drive mounted. Any ideas?

    Lion very slow starting apps with Firewire 800 drive mounted.
    When my Firewire 800 drive is in sleep mode, when I start up an app like MS Excel or Addressbook. I get a spining wheel and a delay before the app launches. Any ideas? Never happened in 10.6.

    Long shot: What format is the drive?
    Regards
    TD

  • Very slow download speeds with ATT U-Verse

    Hello,
    Experiencing very slow download speeds with Macbook Pro 2011, on Lion,  and ATT UVerse Max, which should allow for an avg. 11-12 MBPS speed. Instead, I get a fluctuating 60-370 kbps speed. I am not experiencing this problem on my Windows machines (Laptop running Windows 7 and Desktop on XP), it is only affecting the Macbook pro. I wonder if this issue is a known problem with ATT U-Verse and Macs, I spent hours yesterday with their support online and they couldn't help me, stating that from their side all settings were OK; the first representative from ATT re-booted the router remotely and that seemed to work for about 10 minutes, and then it went back to a crawling speed...
    Any suggestions welcome!
    Thanks

    Do you have QOS enabled in your router? Did you try plugging the win7 laptop directly and check the speed?

  • InDesign CC 2014 is very very slow when working with a table.

    InDesign CC 2014 is very very slow when working with a table. Every 1/2 - 1 hour it nearly falls back, impossible to work with. While this project must be finshed quite soon..
    What the hell is the matter with this Creative Cloud. I havea very fast iMac form 2014. I closed all other programmes, even cannot listen to music now. More people with this problem??
    Martien

    @Martien – How complex is your table?
    How many cells? Merged ones as well?
    Complex formatting of texts inside the cells?
    Complex formatting rules of table rows and/or columns?
    Many images inserted?
    If yes, and the table is running through many text frames of many pages, I fear, you can do nothing against slowness.
    Nothing but: Greek text, not showing the page contents in the Pages Panel, in short: anything you can do to get better performance in redrawing of the screen.
    If you have the chance to break up one big table in several parts, do that and edit its parts one after another isolated. Pehaps in different documents.
    Then merge the parts in one table, if you want to flow it from page to page.
    Uwe

  • M9 Very Slow Charging Even With Quick Charge 2.0 Chargers

    I have a continuing problem with very slow charging even with Quick Charge 2.0 chargers. For example last night I had the M9 plugged into a fast charger for over 12 hrs and it went from 5% battery to 87%.   I checked  the Settings - Battery usage history - and it displays "NO APPLICATIONS FOUND" - very strange...
    Something is very wrong. I have multiple 2 amp and quick chargers all with poor charging times. I have tried each of these:
    https://www.amazon.com/gp/product/B00FW1GE9S/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1[/
    https://www.amazon.com/gp/product/B00L40YJ8O/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1[/
    https://www.amazon.com/gp/product/B00TAOEKPS/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1[/
    https://www.amazon.com/gp/product/B00HP0FOCM/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1[/
    The Ampere app displays varying charger power from 15 mA to 880 mA so I don't think it is accurate.
    Testing with multiple chargers point to the problem in the M9. This is maddening. Seriously considering returning the M9.
    Any feedback?
    ++md++

    Perhaps this helps:
    http://www.xperiablog.net/2015/07/02/these-sony-xperia-devices-support-qualcomm-quick-charge-2-0/

  • Typing on the iPad 2 very slow to respond with iOS 7

    Why is typing on the iPad 2 very slow to respond with iOS 7?

    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.

  • Help : very slow connection speed with AEBS and iMac

    I connect to the internet using my newly purchased AEBS. I have a MacBook and an 24" iMac ( purchased in Nov 2007). My iMac showed very slow connecting speed of <1 MB/s download; with my MacBook placed just 1 foot from my iMac, the MacBook showed an amazing download speed of 20MB/s. If i connect the iMac to the AEBS using ethernet cable, it can get a very high speed.
    So, where is the problem??
    I am new to wireless, please help. I use iMac more than my MacBook at home.
    Actually, i did not touch the any of the advance setting of the AEBS.

    You know, I am experiencing the same problem. My wife's PC and iPhone are blazing fast, but my MacBook is accessing the internet at about dial-up speeds. Very frustrating and I haven't yet found the culprit.
    Anyone???

  • Very Slow 12" Powerbook with Airport Express - 15" PB OK

    Here's my problem; Our 12" 1.5 PB is very slow with Airport Express but It is OK when directly connected to the cable Modem via Ethernet. We also have a 15" PB 1.67 that works great with Airport Express & Ethernet. The 12" PB takes approximately 4-10 times longer to load Internet pages than the 15" PB. Here's what I've tried so far without success;
    - made sure software was up to date (10.4.8)
    - turned off the A/E security
    - different A/E channels
    - moved the A/E base station to another location
    - a differrent A/E base station
    - a Linksys WRTG54 base
    - new Airport Extreme Card in 12" PB
    - ran Apple hardware test on 12" PB - checks OK
    - re-installed fresh OS and Apps from original install disks
    - Firefox instead of Safari
    - new user account on 12" PB
    - re-installed original 512 RAM
    Any suggestions would be greatly appreciated!

    Jerry,
    You're not going crazy, by the way. I have the exact same problem with my 12' Powerbook. I even tried swapping airport cards with another Powerbook. No luck. Ethernet is ok.
    Any help is appreciated.

  • Very slow downloading webpages with Firefox 3.6.8; no problem with IE;

    Firefox is very slow loading web pages. Was OK with the old version. This happened after I downloaded latest upgraded version 3.6.8
    == This happened ==
    Every time Firefox opened
    == after loading new version of Firefox, 3.6.8

    Not only do I have the snail version of firefox but I keep getting messages that Firefox can't find the server, or that it has times out. I have had to retry numerous times. I just had a problem with FF opening a one-page pdf. After what seemed like forever, I copied and pasted the url into IE and it opened almost immediately. After I read the pdf and downloaded it, I closed IE and saw that FF was still in the process of opening the page. I loved FF,but don't have time to wait until my next birthday to view/open a site. Incidentally, my birthdate is 07/11. This is seriously hampering my participation in two online graduate courses. I have been running Win 7 since March, but not had these problems until recent updates. I even had firefox set to notify me and ask before installing updates, but it was changed to automatically install updates when I just checked. I am the only user of this computer (live alone).
    ''' ALSO''', when I checked update history, there is an update for (3.6.4) that shows as successful that took place on '''Wednesday December 31, 1969.''' I don't believe that Firefox existed in 1969 or Internet Explorer for that matter. I couldn't highlight and copy the info in my history, but did copy with pen and paper. This is what was showing for the 3.6.4 update:
    '''FireFox 3.6.4 (20100611143157)'''
    Security Update
    '''Installed''' on '''Wednesday, December 31, 1969''' 6:00:00 PM
    Status The update was successfully installed
    There is definitely something amiss unless the creators of FireFox have mastered time travel!
    Since I do not have the time to open FireFox and check here to see if a solution to these problems has been determined (based on s-l-o-w performance of FF over the past week or so) would someone email me with a link that I can access through another browser, if necessary?
    Email: [email protected]

  • Very slow download speed with intermittent halts

    Need some help.
    I run Apple os/x latest version and have since yesterday begun to experience constant very slow download speeds.
    I have rebooted the router and I have reset it. I have tested with wireless and wired into router. No real change.
    The results are below and are pretty consistent no matter when or with what computer I test it with.
    This is very frustrating and I would like to know if anyone has experienced this and if there is anything I can do before calling for service.
    Thank you in advance.
    Checking for Middleboxes . . . . . . . . . . . . . . . . . . Done
    SendBufferSize set to [131768]
    running 10s outbound test (client to server) . . . . . 5.44Mb/s
    running 10s inbound test (server to client) . . . . . . 1.94Mb/s
    ------ Client System Details ------
    OS data&colon; Name = Mac OS X, Architecture = x86_64, Version = 10.8.2
    Java data&colon; Vendor = Apple Inc., Version = 1.6.0_37
    ------ Web100 Detailed Analysis ------
    Client Receive Window detected at 359104 bytes.
    10 Mbps Ethernet link found.
    Link set to Full Duplex mode
    Information: throughput is limited by other network traffic.
    Good network cable(s) found
    Normal duplex operation found.
    Web100 reports the Round trip time = 22.89 msec; the Packet size = 1448 Bytes; and
    There were 159 packets retransmitted, 288 duplicate acks received, and 394 SACK blocks received
    The connection stalled 9 times due to packet loss
    The connection was idle 2.01 seconds (16.75%) of the time
    This connection is sender limited 35.49% of the time.
    This connection is network limited 64.51% of the time.
    Excessive packet loss is impacting your performance, check the auto-negotiate function on your local PC and network switch
    Web100 reports TCP negotiated the optional Performance Settings to:
    RFC 2018 Selective Acknowledgment: ON
    RFC 896 Nagle Algorithm: ON
    RFC 3168 Explicit Congestion Notification: OFF
    RFC 1323 Time Stamping: ON
    RFC 1323 Window Scaling: ON
    Information: Network Middlebox is modifying MSS variable
    Server IP addresses are preserved End-to-End
    Information: Network Address Translation (NAT) box is modifying the Client's IP address
    Server says [71.100.xxx.xxx] but Client says [192.168.1.9]

    Both wired or wireless.
    auto - negotiate 
    Thank you.

  • Skype being very slow/shutting down with an applic...

     Two days ago, my Skype began working very slowely. It is still slow, and now, every twenty minutes or so, it shuts itself down, yielding the attached error. 
    I tried uninstalling it and reinstalling the newest version, and the same thing is occuring. I have no idea what to do. 
    (A screenshot of the error message is attached)
    Attachments:
    error.png ‏23 KB

    Hi DaddyPaycheck, apologies for the delay replying.
    The hard drive is less than half full. A 500gb drive with 228gb remaining, plus 30 odd set aside for boot camp. So the drive size I expect is more than fine.
    For further info I have done the following -
    Re installed SL, backed up and restored files from Time Machine. Updated to 10.6.2 at moment.
    Have cleared off loads of stuff that was sitting redundant and essentially gathering dust.
    Used Clean My Mac to clear out all other types of bagged accrued over time.
    Ran disk utility from the install disc - all fine.
    Ran verify / repair permissions - all now fine.
    Verify Disk (from utilities just now) - all fine.
    Have unplugged all cables from back such as Ext HD / USB Ports / even speaker so that am starting / closing with only bone fide connections running.
    Have "ejected" boot camp hd and closed down, still the delay.
    Am at a loss to see where of what is causing this delay. I timed it again just now and at close down, I get the spinning icon for 50seconds before it finally closes, so something is going on.
    Not sure if it is connected, but at start up, with the apple logo on display, I also get the spinning icon for about 20 seconds, before launching the desktop, which itself shows no signs of any problems whatsoever.
    Just the shutting down that has me slightly concerned.

  • Very Slow internet connection with WRT150-N Wireless Router

    I have a WRT150-N wireless router hooked up downstairs to the modem and I am upstairs right now with internet that is very slow, it shows it is 18 megabytes/second and the connection says poor (i have a wireless G card in this computer).  I have another computer that is about 10 feet away from the router with a wireless N card and it says that the connection is 160 megabytes/second, but again it is running very very slow.  The third computer is back upstairs by this one and it has a Wireless N USB adapter and is running about 170 megabytes per second.  They are all about the same speed in opening websites but again are very slow to do so.  Any ideas on what is going on or how I can get it faster?

    First of all, the speeds you are quoting all sound like Mbps (megabits per second) connection speeds, not data throughput speeds.  You really need to measure your actual download speed to tell what is actually going on with your system.
    Use speedtest.net and test your system.  Turn off all other computers except the test computer.  Test under the following conditions:
    1)  connect one computer, by wire, directly to your modem
    2)  connect the same computer, by wire, directly to your router
    3)  connect the same computer wireless to your router
    4)  connect your other computers, wirelessly to the router, one at a time
    Also, state the speed that you are paying your ISP for.
    Report your download and upload speeds for all of the above tests.
    Note that the speed that you are paying for should be about the same as your results from test 1 and 2 above.
    After you have done these tests, it will be much easier to tell where the problem is. 

  • Very slow Wi-Fi with strong connection

    i have a problem, i'm not sure if im doing anything wrong. im not sure if it is my phone that is the problem or the wi-fi connection at my house or what. here it is, i have very slow wifi and sometimes i turn off the wi-fi and edge is faster! i want to address this problem myself because my iphone is unlocked and i voided the warranty. although google is very fast on wi-fi, my facebook page takes around 3 minutes to load with the stongest wi-fi connection. other websites are the same thing. google seems to be the only fast website on my wi-fi connection. i believe my iphone running on edge is faster. i havent compared yet, but it seems so. i have also tryed forgetting the network and connecting back to it with the password and nada. if anyone knows how to address this problem, please fill me in! much appreciated! thanks!

    Go to Mac611.com, tap on 'iPhone-related Sites' scroll down to 'iPhone Network Test' and see what your speeds are on both EDGE and Wi-Fi. What readings are you getting?
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group 
    Creator of Mac611 - Mobile Mac Support (designed exclusively for an iPhone/iPod touch)
    Disclaimer required by Apple Discussions Terms of Use: I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Very slow music download with iTunes match on iOS devices

    For some time now I experience very slow performance downloading music with iTunes match on my iOS devices.
    Downloading music takes ages now. Not so long ago download music with iTunes match was as fast as buying music from the iTunes Store.
    I tried to restore my iPhone but nothing changed.
    The download itself is quite fast but after that the blue progress bar is full and the statut is "en cours" (french) something like busy/ongoing in english . The other tracks have a status wating;
    Any idea how to solve the issue?
    Thanks

    Same here. It seems to be better when the device has been set up from scratch. A delete and restore does not the trick. So I learned to live with it

  • APEX  all page loads very very slow - Default install with  11G R1

    HI,
    I have installed Oracle 11g R2 on my Windows XP desktop. APEX is installed by default in 11G R2. I have tried to use APEX but it runs very slow. For example, bringing up the Oracle APEX admin login page takes to 5 to 7 minutes. Once logged in, performing admin tasks is painfully slow as well.
    EM is fast, the pages come up in a few seconds. I am not sure of the exact setup APEX since it is installed by default.
    Here is what I have tried so far
    1) localhost:8080/{I can not remember the rest of the url}
    2) ip/8080/
    3) tried both IE 6 and firefox.
    4) turned off the proxy server in IE options. We are on a LAN and use proxy to internet
    I ran a search for a dads file on oracle home, but I can not find it. Maybe it is renamed in 11G r2.
    Any help would be appreciated.
    Edited by: solvetek on May 2, 2009 7:53 AM

    Hello,
    Check the value of SHARED_SERVERS, if it's set low (which it probably will be if you haven't adjusted it yourself), then you'll probably want to increase the value.
    Essentially (if this is your issue) there are insufficient pooled connections available to service all the HTTP connections necessary to render your page, so you're paying a performance penalty waiting for either new connections to fire up, or for busy connections to be free'd up ready to service a new request.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

Maybe you are looking for

  • Regarding no employee discount message! Please Read everything and you will know

    come on does anyone read what the sign says anymore? The first page when you go to www.verizonwireless.com/iphoneorder says in big bold letter PLEASE READ BEFORE ORDERING It then goes to say, that employee discounts on plans will be honored. It also

  • After i updated to 10.7.5 my mac keeps freezing when using Safari

    After i updated to 10.7.5 my mac keeps freezing when using Safari, I've to restart it everytime. What's the problem with 10.7.5? Is this a known problem? How can I fix it?

  • How to Set up Facetime in Iphone 5?

    Guys, I am a new Iphone user, my device is an Iphone 5, however I havent set up Facetime and iMessage on my phone

  • Credit card authorization

    I am building a shopping cart E-commerce application. How can I get a credit card authorization? i.e How can I call a credit card company services to get credit card approval? How should I get a secure connection between my company network and credit

  • Jobs for ocp

    Could there be a entry level jobs for OCP - Forms developer with no commercial experience in UK preferably london, is there any other way to find out like forum, placement site or any other means ?