High CPU Consumption when Displaying Animated GIFs

Hi -
Within our application we utilize a lot of the standard AJAX loading icons to indiciate that data is downloading/loading. What we've noticed, however, is that when animated GIFs are being displayed they are consuming between 5 and 8 percent of the CPU. I've confirmed it's definitely the GIF that is causing the CPU usage to increase so dramatically.
Has anyone else experienced this? Do you have work arounds? Does anyone have any idea why performance is so bad on this?
Does using an SWF instead help?
Thanks.

Hello Steve.
Although I'm not really sure what you mean by "content plugins dialogue", you may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
If you want support for one of your add-ons, you'll need to contact its author.

Similar Messages

  • Google Earth Plugin and LabVIEW: High CPU usage when adding placemarks

    Hi,
    I posted this question on stackoverflow earlier this week but feel it might be better suited to the LabVIEW community specifically so I'm reposting here:
    I'm writing an application which uses the Google Earth Plugin to display events on the globe. Each event is a single point kml placemark with an icon which is a 3kb png file. Placemarks are uploaded to the plugin as they are received by the software. I am experiencing increasing CPU usage with the number of placemarks that are added.
    I have tested displaying a new placemark every second and running until the software running the plugin completely froze (graph attached). The GEPlugin (green trace) stopped responding (i.e. the globe did not respond to the mouse) at around 1200 placemarks added and CPU usage was at ~30%. When the software itself (red trace) froze the plugin was using around 50% CPU and ~3700 placemarks had been added). After the freeze, no new placemarks were added which caused the software to respond (but not the plugin) so I could clear all the placemarks. After the placemarks were cleared from the globe, the CPU usage of the plugin returned to around 5% CPU.
    So what I've seen is that GEPlugin CPU usage increases linearly with each kml placemark added. Is this the expected behaviour/ a normal limitation of the plugin? If not is there a more efficient way of adding many placemarks to the globe?
    I am using GEPlugin version 7.1.1.1580 (API version 1.010) and LabVIEW 12.0f3
    Please see the test results attached. Any input greatly appreciated!
    Original stackoverflow post:
    http://stackoverflow.com/questions/20994323/google-earth-plugin-with-labview-high-cpu-usage-when-add...
    Attachments:
    Performance Log 020114_095115.png ‏82 KB

    Hello,
    I have had a look at your graphs and understood what you are trying to do. To me it seems that as the image gets more complex it gets harde to render which wold likely cause increase in CPU usage resulting in the freeze. I would suggest you try running the program on anoher computer to check on the RAM front of things. If this is a limitation of the GE Plugin then unfortunately I can not do much to help, but if you think this is a problem coming from your LabVIEW code then you can post your code here and I can take a look.

  • Problem to display Animated Gif from HTML into JEditorPane

    I have a problem displaying animated gif that comes from URL (HTML) into JEditorPane.
    Let me show you the source I have:
    * @author Dobromir Gospodinov
    * @version 1.0
    * Date: Dec 6, 2002
    * Time: 6:47:53 PM
    package test.advertserver;
    import javax.swing.*;
    import java.awt.*;
    import java.io.IOException;
    public class Test {
         public static void main(String[] args) {
              JFrame frame = new JFrame();
              JEditorPane ed = new JEditorPane();
              try {
                   ed.setPage("http://localhost:8200/servlet?key=value");
              } catch (IOException e) {
                   e.printStackTrace();
              JPanel panel = new JPanel();
              panel.setPreferredSize(new Dimension(500, 500));
              panel.add(ed);
              frame.getContentPane().add(panel);
              frame.pack();
              frame.setVisible(true);
    }Part of the returned from servlet HTML includes an img tag:
    <img src="/images/MyAnimatedGif.gif" alt="animated gif comment" width="480" height="50"  border="0">Let us assume that MyAnimatedGif.gif has 10 frames and gif is looped - when the 10th is dipslayed it has to display the 1st and so on.
    JEditorPane displays frames from 1 to 10 correctly but does not start from the first again. Instead JEditorPane displays a broken image.
    I locate where the problem arise:
    JEditorPane has an HTMLEditorKit that creates javax.swing.text.html.ImageView instance for every IMG tag.
    And here is the problem:
    ImageView has an ImageObserver necessary for the asynchronous image download. ImageObserver has the imageUpdate method. But this imageUpdate method is never called with ALLBITS flag raised up. Instead, after the last frame of MyAnimatedGif.gif is downloaded the imageUpdate method is called with flag ERROR raised up. Obviously this is a bug of Sun's implementation. Finaly the flag ALLBITS has to be received for normal end of image observing. But ALLBITS flag does not come.
    So, can anybody help me how to load an animated gif within JEditorPane completely.
    Thank You in advance,
    Dobromir Gospodinov
    P.S. If somebody of you wants to debbug what happens within ImageView will have to implement it (and related classes too, because of the limited package visability) borrowing the source from Sun's ImageView.

    I'm also having this problem with java 1.4.1 I discovered that some animated gifs work fine, while others stop animating. Running with java 1.3.1 fixed the problem. I'm going to report this as a bug
    Here's my code:
    import java.awt.*;
    import java.io.*;
    import javax.swing.*;
    public class AnimatedGifTester
    extends JFrame
    public static void main(String argv[])
    throws Exception
    new AnimatedGifTester();
    public AnimatedGifTester()
    throws Exception
    String[] images = new String[] {
    "http://www.gif.com/ImageGallery/Animated/Animals/Photographic/dog_running.gif",
    "http://www.gif.com/ImageGallery/Animated/Characters/Cartoon/java.gif",
    "http://www.webdeveloper.com/animations/bnifiles/anielg.gif",
    "http://www.webdeveloper.com/animations/bnifiles/cat2.gif",
    "http://images.animfactory.com/animations/animals/fish/big_fish_swimming_md_wht.gif",
    "http://www.webgenies.co.uk/images/martian.gif",
    "http://www.webdeveloper.com/animations/bnifiles/at_sign_rotating.gif",
    "http://www.webdeveloper.com/animations/bnifiles/arrow_1.gif",
    "http://www.gif.com/ImageGallery/Animated/Characters/Cartoon/javaacro.gif",
    "http://java.sun.com/products/java-media/2D/samples/suite/Image/duke.running.gif",
    "http://www.gif.com/ImageGallery/Animated/SouthPark/Cartoon/stan.gif"
    StringBuffer buffer = new StringBuffer("<html><body>");
    for (int idx = 0; idx < images.length; idx++)
    buffer.append("<img src='" + images[idx] + "'>");
    buffer.append("</body></html>");
    String html = buffer.toString();
    // save a copy of the html to open in a browser so we can see what it's
    // supposed to look like
    BufferedWriter writer = new BufferedWriter(new FileWriter("animatedGifTest.html"));
    writer.write(html);
    writer.close();
    JEditorPane editorPane = new JEditorPane("text/html", html);
    editorPane.setEditable(false);
    getContentPane().add(editorPane);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setSize(new Dimension(400, 600));
    show();

  • High CPU usage when updating or instlling s/w

    When updating Win8 or installing MS Office system slows down and has to run all night to make any progress. Task Manager shows "System" using 49%. "go to process" shows "NT Kernel & System". The system was bought with Win7 and is now double booting both 7 & 8. Win 8 partition has 500 GB.
    This question was solved.
    View Solution.

    Hello @Dan-44,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how your computer is displaying a high CPU usage when installing updates or other software. I would be happy to assist you in this matter!
    What other programs are in use when these updates take place? How full is your computer's Local Disk hard drive? In the meantime, I recommend following the steps in this document on Resolving Slow System Performance (Windows 8). This should help improve the speed and efficiency of your operating system.
    Please re-post with the results of your troubleshooting, as well as the requested information above. I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • High CPU usage when graphics card is put at work

    I have a 13inch Air with 2GB RAM and 256GB  with Windows 7 Ultimate 64bit. All possible updates have been installed.
    I noticed some tearing when trying to move program windows across the screen so I started checking the CPU usage. I saw that it is spiking to 25-35% when moving a window across the screen.When you drag down a window you can see the different copies of the top bar across the screen. Not smooth at all like on a standard PC windows system. Same issue when scrolling through webpages which spikes the cpu
    I also noticed a high cpu usage when playing mkv files 25-30% while on an Atom HTPC i get a lower load playing the same file. The Air should be faster than an atom with a nvidia 9400m when playing video files.
    I already tried updating the nvidia files to the latest version on their site by hacking the driver inf but this did not resolve the issue.
    Has anyone experienced the same or know what could be causing the beavior?
    Many thanks

    Maybe my initial post was not clear so let me add some clarifications.
    I have the problem with Aero disabled
    I have the problem on the Apple site which does not have any flash content.
    I have already hacked the lastest nvidia drivers to get them on my system which did not change anything. Can you provide a link to some other 'supported' beta drivers?
    I am using the new 13 inch air so it has the newer graphics card so I would expect it to be faster than an old HTPC with a 9400m in it. I wasn't stating that my Air had a 9400m.
    It would be great if someone you also do the test to check the cpu load:
    - when playing a 720 mkv
    - when dragging a window across the screen
    Just open task manager and see if the CPU spikes.
    Many thanks!

  • Firefox 6 has high cpu consumption

    Hi,
    I have just upgraded from Firefox 5.x to 6.0. I am using Windows 7 32-bit on a Dell Laptop, Core 2 duo, 4 GB RAM.
    I have observed that FF seems to consume a lot more CPU than before.
    Also, the memory footprint keeps changing rapidly. I don't have a physical memory issue.
    The worrying factor is intermittent but unpredictable recurrence of high cpu usage when i open a new site, etc.
    Adobe plugin does work but it is a bug CPU hog.
    Please help provide a resolution as it seems like going back to 5.x is a better option at the moment since i didn't have much of an issue with FF 5.x.
    Thanks,
    Anand

    Same symptoms as well. Have tried starting in safemode, disabling addons etc. as detailed in solutions elsewhere on this site, but the problem remains. Have completely uninstalled and reinstalled Firfox as well, but no good.
    The problem happens instantly whenever I open a link in a new tab or have multiple tabs. The high load (95-100%) does not reduce from this point on and the only solution is to kill Firefox. I'm running XP SP3 on AMD 64 platform.

  • High CPU usage when downloading Files

    Hi there,
    i noticed somethign strage when I download file off the internet or intranet. As soon as my download speed surpasses 1MB/s the CPU usage increases. To be exact the process kernel_task.
    For example:
    2,5 MB/s -> ~30%
    10 MB/s -> ~60-70%
    10+ MB/s -> ~80%
    This is really annoying and I have now clue how to fix this. The Harddrive is a SAMSUNG HM320JI with a Journaled HFS+ partition. No Virus Scanner or anything. Also just reinstalled Snow Leopard yesterday.
    Hope someone can give me some useful information how to fix this.

    Hiya,
    could it have something to do with the write speed/ cache/ram? On a "slow" disk, or one that is nearly full or one that is partitioned, it will take a great deal more ram and cache to "digest" the faster download and write it onto disk. I tend to do downloads to a separate drive. Have you got one? and can you repeat the high CPU usage when downloading / saving to the external drive? I note your drive might have 5,400 rpm, with "just" 8mB cache and 320 GB (quite a few SATA's have 7,200 rpm and 32 mB cache).
    NB: If anything, I found SL more efficient, especially on my 4 year old Macbook, which is running much faster and has got more responsive after installation of (full version of) SL.
    Message was edited by: Alexandre

  • ITunes 10.6 has High CPU Usage when switched to Mini Player

    iTunes has high CPU usage when switched to mini player. The CPU usage goes to 80-100% when the next song is played in Mini Player. iTunes then stays at high CPU usage.
    Upon exiting mini player the CPU usage will drop back to the normal 0-5% levels.
    This only happens when playing from the main music library; which my library is at 7089 items, 42.04 GB.
    When playing from a smaller playlist such as a smart playlist with about 15 songs in it for example, the CPU usage stays low/normal.

    Do you have any better luck with that if you update to iTunes 10.6.1.7?
    From the notes for the release:
    iTunes 10.6.1 provides a number of improvements, including:
    • Fixes several issues that may cause iTunes to unexpectedly quit while playing videos, changing artwork size in Grid view and syncing photos to devices.
    • Addresses an issue where some iTunes interface elements are incorrectly described by VoiceOver and WindowEyes.
    • Fixes a problem where iTunes may become unresponsive while syncing iPod nano or iPod shuffle.
    • Resolves an ordering problem while browsing TV episodes in your iTunes library on Apple TV.
    http://www.apple.com/itunes/download/

  • High cpu consumption with GRE over IPSEC

    Hi all,
         After applying a gre over ipsec tunnel on one of our branch office, we get high cpu consumption (average 90%).
    Tunnel is applied between Cisco 2851 (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T2, (fc2) and
    Cisco CISCO2921/K9 Version 15.0(1)M3.
    Config of the tunnet is as follow :
    - authentication pre-share
    - encryption aes 256
    - hash : sha
    - transform set : esp-aes esp-sha-hmac mode transport
    Routing process is eigrp.
    Could anyone please help me on solving this issue?

    Cool, good start.
    Check "show ip traffic" on both sides, it would be interesting to see what's going on.
    BTW the CPU usage of top process doesn't add up to 90%, there's a possibility it's traffic rate/pattern + features (IP input and pool manager would suggest that).

  • 3G High CPU utilization when waking

    Recently gave my iPhone 3G to my wife, restored it to a new phone, then synced it with her information, music, applications, etc. She previously had used an iPod touch, and basically was trying to upgrade her to an iPhone.
    The phone worked fine when I had it. I only had a short time with this specific phone as it was replaced under Apple Care about a week and a half before turning it over.
    Now it pretty consistently is unresponsive when trying to wake it. By bringing up the System Activity Monitor App as soon as possible after powering it up, and leaving that app active when putting it to sleep I can see that the CPU gets slammed for a while during initial startup and has a significant period of very high CPU when waking. At this point I believe the cause of the unresponsive behavior is that the CPU is maxed out doing something.
    I've compared the running processes to an iPhone 3Gs and they were identical except the 3G was missing the MobileMusicPlaye until I brought up the iPod on that phone.
    There are 2 things about the initial setup of this phone for my wife that are causing me some concern;
    1) When first connected to iTunes after the Factory Reset I was prompted to restore an older backup than the iPod Touch one I took right before the swap. I didn't realize it at the time and accepted that restore.
    2) I was prompted to upgrade and followed through with an upgrade to 3.1.2 after the Factory Reset even though the phone was at 3.1.2 before the swap.
    At this point I'm thinking about doing another Factory reset and set it up by sync only (no restore) but not looking forward to the time investment that will take.
    Any ideas on where the high CPU utilization is coming from on wake? Is that a reasonable theory that the high CPU is causing it to be unresponsive when first woken up.
    Any other insight from others that have been through this?

    I ended up restoring the 3G phone to Factory settings and then sync'ing the desired information / applications onto it (did not restore the previous backup). The behavior is improved but this phone does seem to get bogged down when waking (observing high CPU utilization when monitoring with System Activity Monitor and experiencing sluggish / jerky response to user actions with no applications or just Mail running). The periods of non-responsiveness are not as long or as severe at this point, but still noticeable.
    I'm at a loss since under the conditions I'm observing this there is nothing but Apple software running on the device (behavior is present with or without SAM showing me the CPU utilization). I'm a little suspicious that it might have something to do with re-establishing the WiFi connection, but it seems to continue for a bit after the WiFi icon appears in the status bar.
    I'm probably going to make a genius appointment to see if they have any other ideas.

  • High cpu usage when idle / x230

    Hi all,
    I have an i5 x230, win8 pro installed on a crucial m4 msata ssd, 16gb of ram. I lately noticed a sharp drop in battery life. I believe this is due by high cpu utilization when idle, which I see from task manager, and shows the System process hovering above 30% cpu utilization. This goes down when I restart, but comes up again after a while, possibly when coming back from sleep.
    Does anyone have any idea about this? I tried to search the knowledge base a bit, but nothing came up.
    Thanks!
    Solved!
    Go to Solution.

    Indeed it was risdxc64.sys; I used process explorer to find out. I uninstalled the win 8 driver, and installed back the win 7 driver, and CPU usage is normalized.
    Thanks for pointing in the right direction!

  • High CPU usage when downloading from ITunes Match

    When attempting to download matched songs from ITunes Match, ITunes utilization spikes to over 70% and makes it almost impossible to do any other function on the computer.  Eventually ITunes fails to respond.  I have tried several remedies including reseting winsock.  Is there any other options I should try?

    Hiya,
    could it have something to do with the write speed/ cache/ram? On a "slow" disk, or one that is nearly full or one that is partitioned, it will take a great deal more ram and cache to "digest" the faster download and write it onto disk. I tend to do downloads to a separate drive. Have you got one? and can you repeat the high CPU usage when downloading / saving to the external drive? I note your drive might have 5,400 rpm, with "just" 8mB cache and 320 GB (quite a few SATA's have 7,200 rpm and 32 mB cache).
    NB: If anything, I found SL more efficient, especially on my 4 year old Macbook, which is running much faster and has got more responsive after installation of (full version of) SL.
    Message was edited by: Alexandre

  • High CPU usage when editing large MXML files

    I am using Flash Builder 4.5 Plug-in on OSX. When I have a large MXML file open, Eclipse will consume 100% of the CPU as long as that file is open, even if I am not doing anything. If I close that editor the CPU usage goes back down. I've seen this in Flash Builder standalone as well as the plugin. Is there a workaround to stop this CPU usage problem?
    Thanks

    Hiya,
    could it have something to do with the write speed/ cache/ram? On a "slow" disk, or one that is nearly full or one that is partitioned, it will take a great deal more ram and cache to "digest" the faster download and write it onto disk. I tend to do downloads to a separate drive. Have you got one? and can you repeat the high CPU usage when downloading / saving to the external drive? I note your drive might have 5,400 rpm, with "just" 8mB cache and 320 GB (quite a few SATA's have 7,200 rpm and 32 mB cache).
    NB: If anything, I found SL more efficient, especially on my 4 year old Macbook, which is running much faster and has got more responsive after installation of (full version of) SL.
    Message was edited by: Alexandre

  • Problem at displaying animated gif images !!!!!!!!!!!!

    hello everyone......i am trying to display an animated gif image..............so till far i have no issues on this....
    but i face problem when :
    i have created a class called SimpleGame which extends JPanel....
    public class SimpleGame extends JPanel
    //code
    public void paintComponent(Graphics g)
    //code to draw image
    }now i have written another class with main method
    public class MyGame extends SimpleGame
    public MyGame()
            JFrame frame=new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(800, 600);
            frame.setUndecorated(true);
            frame.setLocationRelativeTo(null);
            frame.getContentPane().add(this);
            frame.setVisible(true);
            this.repaint();
    }so image gets displayed but only one frame of animated image......image that is displayed is static.....since it is a animated gif,,,,,so some how animation is not rendered......only one frame is displayed......
    why is it happening ??
    if i try to display animated image from a single class i mean my paintComponent method and main method is at same class then i do not face problem.....
    but if my paint method is in another class and i am using that method from another class then animation does not get rendered.........
    any help !!!!! please...........

    class SimpleGame extends JPanel
    Image img=new ImageIcon("y.gif");
    public void paintComponent(Graphics g)
    g.drawImage(img,150,150,this);
    }main class//
    class MyGame extends SimpleGame
    public MyGame()
            JFrame frame=new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(800, 600);
            frame.setUndecorated(true);
            frame.setLocationRelativeTo(null);
            frame.getContentPane().add(this);
            frame.setVisible(true);
            this.repaint();
    public static void main(String[] args)
    new MyGame();
    }my image gets displayed.......but only single frame of a animated image....animation is not happening..........

  • High CPU usage when playing flv files with flash

    As more and more FLV videos are moving to HD, I'm noticing
    high CPU usage and lots of dropped frames when playing FLV video in
    web browser with Flash 10. This is true even if the video isn't
    full screen. I've tried a variety of browsers (Firefox, I.E.,
    Chrome) and the problem occurs on all of them so it's pretty clear
    it's a limitation in Flash.
    Now my PC isn't high end (it has a Pentium M 1.86 GHz
    processor), but I can take those same FLV files and load them in
    something like Media Player Classic or Windows Media Player (when
    using ffdshow) and play the FLV files full screen with little or no
    drop in frames and an acceptable CPU rate.
    This is especially annoying on sites like YouTube where I
    actually have to save the video and play it back in something other
    than Flash to have it play back at an acceptable rate. This doesn't
    work for other sites like Amazon.
    Why is the CPU usage so high when decoding and displaying
    videos when compared to other media players?

    I've been doing research about this excessively high CPU usage problem (100%!) for weeks because I have also experienced it with my vista home premium laptop. Just recently, I have finally found the solution. The problem is not your browser or your OS or your pc's memory. The problem is caused by authorization for flash player.
    Read the link (posted below) carefully and follow the steps accordingly. If you have already done steps 1 through 6 with your computer, you can go straight to step 7.
    http://thetechangel.com/blogberry/2008/10/adobe-flash-player-10-fix-for-vista-xp/
    PS: I am not the author of that link, so please thank the respective site owner if you find the procedure very helpful.
    Please let me know also if the link solves your problem. I am sharing this because Adobe seems unable to provide solutions to this, and I don't want to hear people suffer.
    My blog:
    http://literaryworks101.blogspot.com
    http://bookofsalamat.blogspot.com
    Thanks

Maybe you are looking for