High CPU load when opening js file

Hi, whenever I am opening a particular js file, my CPU load is rising too high and it remains high even when I close Dreamweaver (somehow the process continues to run and I have to terminate it with the task manager).
This problem only happens when I open the particular javascript file. Sometimes some lines are marked with errors when there are in fact none. This javascript file contains jquery code which mostly uses the "on" function (used approx 50 times). I am thinking the problem is either related to jquery 1.9 or maybe to the "on" function.
Update:
I found the problem. I had something like this $(this).on().on().on().on().on().on().on().on().on().on().on().on(); which was overloading my cpu. The solution is to split it.

Thank you for sharing your solution with us. Much appreciated!
Thanks,
Preran

Similar Messages

  • Since 10.4.6 Update: "ATSServer" with high CPU-usage when opening PDFs

    Since I've updated to 10.4.6 my system is very slow when I open PDFs (in "Preview" or "Acrobat").
    This is caused by the process "ATSServer" which goes through every file in "~/Library/Fonts" (I have over 4.800 files there - but just a view are activated by "FontBook") and so it takes very high CPU-usage.
    I didn't have this problem bevore the update and I didn't make any changes on my font settings.
    I've cleaned the font cache, but it doesn't help.
    Any ideas?
    Ciao
    Mephizo
    PS: Excuse my poor English.
    PowerBook G4 17'' 1.67 GHz   Mac OS X (10.4.6)  
    PowerBook G4 17'' 1.67 GHz   Mac OS X (10.4.6)  

    I haven't noticed any change myself, Dan, but I have the 2 GHz model.
    One thing I HAVE noticed though after OS updates is that they can often result in a fair amount of file and free space fragmentation immediately after installation. OSX's routines will deal with fragmentation of small files , but not of large ones (over 20 Meg), and it won't deal very effectively with free space fragmentation. If your HD is getting full this can cause significant slowdowns, especially where video is involved.
    You should also run DiskUtility and check for any directory and permissions issues.
    Cheers
    Rod

  • 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

  • High CPU load when sampling from two PCI 4472

    Hi,
    LabVIEW 8.6, DAQmx 8.7.2  PC: Pentium 4  3.2 GHz, 2 GB Ram, Windows XP Prof Service Pack 2
    I have an application with two PCI-4472 cards connected together with a RTSICable and I am sampling at 44.1 kHz.
    When I only sample from one of the cards the CPU load is about 2-3 % regardles of whitch off the cards I am sampling from.
    But when I sample from both cards ths CPU load goes up to 50-60 %.
    I have made an clean VI with only an DAQ Assistant and this gives the same result: 3% + 3%  = 60% ... ???
    What can I do to get the CPU load down when using two PCI-4472 cards ?
    Kind regards
    Leif Christensen

    This is happening to me too, but i found a solution. try to change the way you look at music , on the left of search is 4 buttons, List view , Album List view, Grid view , Cover Flow view. try to change the view, then view your cpu usage, it worked for me, but not for my friend, so im not sure that it will work

  • High CPU usage when playing flv files with VideoDisplay

    Hi all,
    Now i develop a project with VideoDisplay, my problem is when i play f4v file, my CPU usage is very high.., I also play the same file with Adobe Media Player, the problem is still exist.
    Can anybody help me ~? thanks~,and sorry for my poor english~

    I'm pretty sure one reason is that Flash "watches" the video so it can sync up the frames with other animations you might want to overlay.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • 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!

  • High CPU load with nfs4

    Has anyone noticed a high cpu load when transferring over nfs4.
    My arch box has a dual core amd with 4 gig of ram.  It has a rocketraid 2320 card being used for a 8 1TB mdadm raid 6.
    I am transferring from ubuntu -> arch box.  I am noticing high cpu on both sides.  I dont know if its an nfs issue or what.
    On the arch side I am seeing high usage from nfsd , flush-9:0, and an mdadm process.  Both cores are sitting around 50%.
    Anyone run into this or know if its an issue with nfs4? or maybe different nfs versions of ubuntu and arch.
    Thanks.

    Adobe need to realize that once their great product with a lot of penetration into the web ad + ria market is starting loose its ground as they simply can't address ongoing issue on their poor flash plug-in performance other than on windows platform. There are a lot of flash enthusiast out there but this poor support from the Adobe doesn't help this much further. One of the reasons why other software vendors pushing for more open standard RIA platforms other than Flash based...
    Only suggestion that I have with Adobe is that if you can not get it right then, it may help to open up flash player source to the community. I am pretty sure that there are a lot of developers out there who can help out to drive better code base for the player and in turn make flash more adopted by non non ms windows user base. At the moment, I have installed "Click2Flash" and "FlashBlock" to save majority of CPU cycle on my MacBook Pro. Imagine the impact on this for future Adobe product. All online ad will slowly move away from flash based and in turn loosing entire market share it has successfully built over the years... Well must note that MS isn't much better either... MS RDP client is permanently turned off from my system, now I'm using CoRD instead..
    I sincerely hope to see some major performance improvements in near future.

  • 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

  • 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

  • Flash causes very high CPU load (including high Xorg load)

    Hello everybody,
    this is my first message. I'm an Arch user since a few months, and I'm pretty sure this is the distribution I'll stick to - I pratically love everything about it, especially its simpleness. It's the first Linux that doesn't scare me away with tons of configuration files scattered around dozens of different locations. I've already gotten quite a number of things fixed by myself without even looking at the forum or wiki.
    Well, it seems most of these statements can be found in most first forum posts, so I'll stop to bore you...
    The problem: Playing flash videos or animations causes incredible processor load: Even youtube takes a whole CPU core (or even a little more), top shows around 80% for Xorg and around 20-30% for Firefox (a little less with Opera). I'm on Arch64 with XFCE, Athlon X2 4600+, NVidia 8200 chipset (which has severe driver problems anyway; I'm using the latest NVidia beta driver). I'd try the open source nvidia driver, but (it seems that) there's no support for my chipset yet.
    Currently I'm using Adobe's Flash64 alpha, before that I used various versions fo the nspluginwrapper. 32-bit Flash also caused high CPU load, but it wasn't that much and it may have been related to nspluginwrapper rather than anything else; however I have got the impression that things became even worse with the switch to the x64 alpha (performance-wise; on the other hand, it at least loads faster and doesn't crash anymore). Like said before, youtube takes one core, but it mostly works ok then, but videos with higher resolutions that youtube's are practically impossible to watch (except when there is very little movement in the film). Neither Flash hardware acceleration on nor off makes any difference.
    I've already read half of the web, searched in forums, wikis, etc., but didn't find anybody with the same problem. When Flash64 was released and people were reporting good improvements, I was hoping it would be the same for me...
    What I'm looking for is suggestions of things to try... I'm out of ideas what to try and where to look. It just seems strange that I seem to have problems that others don't...
    Thanks for reading and for any comments.

    cerbie wrote:And, do I know you from somewhere--a little more Windows-centric--or are there many ElkMonsters, out here?
    Hehe, I'm also wondering how many Cerbies are out there...
    Really funny. The internet is a small place, obviously. Us meeting in a Linux forum also explains why nobody writes to the LSML anymore.

  • HELP! Computer shutting down while loading FL studio Plugins! High CPU load?!

    Good day everyone. I am in dire need of some help concerning my Hp Pavilion p6-2330 . I am a producier and I use a programmed called FL studio.
    I've never had this problem before but now it happens almost everytime. When I open a project with a lot of VST plug-ins or a new VST plug-in it just immeadiatly prompts windows "shutting down". I am not sure if its exclusive to FL studio or a High CPU load in general.
    I've tried a lot. Replaced my PSU. Blow out the dust from my hardive throuroughly. I really doubt its a overheating problem because it only happens when opening a project with a lot of vst plugins or opening a new vst on top. and my CPU isnt hot
    Is there a crash report i can look at to see the reason its shutting down? What can i do?!

    Hi,
    The following link shows specs of your computer:
       http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c03499435
    given "only happens when opening a project with a lot of vst plugins or opening a new vst on top." I think the cheapest option now is to increase RAM from 6GB to say 16GB (using information from the above link). Before goinng out to buy more RAM, you may want to insrease system page file first (similar for Windows 8.1):
       http://windows.microsoft.com/en-au/windows/change-virtual-memory-size#1TC=windows-7
    or
       http://www.softwareok.com/?seite=faq-Windows-8&faq=133
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • High CPU load

    We use vSphere 5.5 with latest updates, Web Client and the VMware Remote Console 7.0.1. But we have problems on our Citrix Terminalserver (Windows 2012 R2): When we close a Remote Console, the prozess "vmrc.exe" didn´t disappear and causes a high CPU load (one complete core). This happens when we use the IE, Chrome or Firefox.
    I don´t know why this happens, have anyone an idea? Thank you!

    One thing to check is that there isn't some other process running in the background which is also using a lot of the CPU. Open Activity Monitor and select "All Processes" at the top and "CPU" on the bottom bar. If you find some process other than the BOINC that is using a lot of the CPU, highlight it and quit it and see if this helps.
    If you haven't already, install iStatPro from the Apple site and keep an eye on your computer temperatures and on your fans. As long as your fans are working properly, they should keep your processor cool enough to not overheat.
    It might also be worth investing in a chill mat, just to help keep your Mac cool overnight.
    Good luck!

  • VI causes high CPU load after several days of running

    Hello,
    I have a strange problem. I have craeted a test bench control VI and it runs on five PCs, controling five test benches. All PCs have almost the same hardware, same motherboard, same CPU, etc.
    Normaly the CPU load is around 50% when I run the VI, but at one PC the CPU load climbs up to 85% after several days (maybe one week) of continuous running and the PC is almost tied up - the VI execution becomes very slow (10 times slower) and the mouse only moves very slowly.
    First I thought that the PC has a problem but the problem dissapears as soon as I stop and restart the VI!
    I don't even have to terminate LabVIEW - only my VI and then everything is okay again.
    The problem does not seem to occur at the other four PCs, but I can not tell for sure.
    The task manager says only LabVIEW causes the CPU load - swap file utilisation is little.
    Is there a way to analyze what causes the high CPU load?
    I Use LabVIEW 7.1 professional
    Operating System: Win XP (SP 2 or 3 I don't remember)
    P.S. I have no loops without wait-functions.
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.

    Do all PCs have the same amount of RAM?
    What is the memory use over time as seen by the windows taks manager. Does it increase gradually?
    An increase in resource usage if often cause by sloppy programming.
    Do you grow arrays forever or constantly resize arrays in memory? (built array, insert into array, delete from array)
    Do you often create new references and never close them?
    What does the program actually do? In my opinion, a constant 50% CPU load seems too high for my taste. It means it would not even be able to keep up on slightly older hardware.
    LabVIEW Champion . Do more with less code and in less time .

  • Enabling NSX on cluster cause high CPU load

    I'm testing NSX in my nested vSphere lab, when enable NSX on cluster each nested esxi starts to use 100% of 1 pCore assigned to nested ESXi.
    esxtop shows that netcpa process use 100% of resource of 1 pcore.
    Also I try to reproduce that situation on physical hardware, and the result was the same, netcpa uses 100% of one pcore.
    Is it normal situation? Why NSX uses so much resource.

    You'll have to give more details:
    -is hardware on vSphere and NSX HCL?
    -physical hardware specifications
    -NSX version
    -vSphere components installed, versions and baseline functionality (is environment falling apart or functional and super fast)
    -How far have you gotten with the NSX deployment...did you fully deploy solution or stop at the host preparation step when you noticed high CPU load
    -are there any other problems in environment or with host/s
    -is the solution licensed properly
    -have you checked the netcpa log file on the ESXi host?
    -have you checked the hostd log file on the ESXi host?

  • Flashplayer 11.3 high cpu load + stutters

    Hey all, I recently updated my Flash Player Plugin for Firefox to version 11.3.300.268. This results in a high CPU load for the Flash Player process like 30 to 40 percent with a 480p YouTube video and some higher percentages when watching flash video on other websites. The highest percentage must have been like 70% while watching a simple flash video on another website. This high CPU load is not the only problem. The video/audio stutters from time to time and especially when you open a new website, even light ones like Google.com. This problem occurred before but at that time I downgraded my version to flashplayer11_1r102_63_win_32bit.exe which is the latest version of Flash that is working correctly on my system.
    Some specs:
    Windows Vista Home 32-bit
    Intel Celeron M530
    Intel 965 Express Chipset with latest installable drivers via HP website (7.15.10.1839)
    Firefox 14.0.1.
    Possible solutions that had no effect:
    Turning off HW acceleration in Flash settings.
    Turning off HW acceleration in Firefox settings.

    Same issue here. I'm going to downgrade as well, as it's making watching embedded videos very frustrating.

Maybe you are looking for

  • How do I use my Best Buy gift card on BB eBay?

    Dear best_buy, I have been trying to order a specific Playstation 4 bundle through the Best Buy website (which allowed for in store pickup of this bundle ONLY) however, there are none available! So I was very excited when I found it on Best Buy eBay,

  • Where is the maps view in photos in ios7

    Ipafter the update to ios7 i am missing in photos the view of the map. Before you could selcet the map and then start to find all photos from that location. I don't like the new view. I will not upgrade my other ios devices to ios7 until this is fixe

  • 'Profile' Example on PDK for EP 7.0

    Hi there, <u><b>Situation 1</b></u> I am trying out an example in the PDK for EP 7.0. The Example is under Portal Development Kit-> Portal Runtime -> Portal Components -> Portal Profile Examples ->Example 1 I build the portal application as follows,

  • Cursor problems with Photo shop Elem.9 on windows 7

    Help, can any one help me I have been operating Adobe Photoshop Elements 9 on Windows 7 for about a year and have found it very good but suddenly If I want to use tools such as Crop. Stamp etc I get THREE icons displayed which makes it impossible to

  • Charge the material cost to another activity

    Hi all, How it is possible to charge the material cost to another activity? The material has GR for the activity A but we require the cost in the activity B (Activities are in same network) Is it possible to charge the material to this activity (With