Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Flash hogging CPU


xtal256
 Share

Recommended Posts

I often play flash games on the internet and i frequently find that after 10-15min of playing the CPU usage jumps from ~50% to 100%. I was just playing Motherload and, as usual, it was fine for the first 10min but then it jumps to 100% CPU until i switch to another application window which is maximised and the CPU drops to 5-10%, i assume because it isn't rendering the game (but it's still running in the background). Then a few minutes after i switch back it happens again, and occurs more and more frequently. Here is a screenshot of the CPU usage:

user posted image

I have drawn a red line indicating the average CPU usage when the game is running, the jump to 100%, down to ~5% when the game goes to the background, and finally back up to normal game CPU usage.

Memory does not seem to increase so it's not a memory leak, and it happens when i run games in Firefox or Opera. I just tried it in IE7 and it seemed to be ok, but i never use IE. The same thing happens with all flash games so it's probably a Flash's fault not the game programmer's.

Does anyone else have this problem? And can it be fixed (e.g. by downloading the latest flash version) or is it just that my computer is slow. I have a laptop, Intel Pentium M 1.73GHz, 1.5Gb RAM.

Link to comment
Share on other sites

I often play flash games on the internet and i frequently find that after 10-15min of playing the CPU usage jumps from ~50% to 100%. I was just playing Motherload and, as usual, it was fine for the first 10min but then it jumps to 100% CPU until i switch to another application window which is maximised and the CPU drops to 5-10%, i assume because it isn't rendering the game (but it's still running in the background). Then a few minutes after i switch back it happens again, and occurs more and more frequently. Here is a screenshot of the CPU usage:

user posted image

I have drawn a red line indicating the average CPU usage when the game is running, the jump to 100%, down to ~5% when the game goes to the background, and finally back up to normal game CPU usage.

Memory does not seem to increase so it's not a memory leak, and it happens when i run games in Firefox or Opera. I just tried it in IE7 and it seemed to be ok, but i never use IE. The same thing happens with all flash games so it's probably a Flash's fault not the game programmer's.

Does anyone else have this problem? And can it be fixed (e.g. by downloading the latest flash version) or is it just that my computer is slow. I have a laptop, Intel Pentium M 1.73GHz, 1.5Gb RAM.

Hmm, very strange indeed. Well, IE (sh*t, I know) is interegated to Windows, so maybe it's the fault of Firefox and/or Opera.

Firefox uses a bit more CPU and Ram than IE, but uses it in a more efficient way, also increasing speed. Try updating

Firefox. and try updating your flash player.

Link to comment
Share on other sites

Reincarnated

Yeah, I get this problem as well (in firefox and IE). Even when I went to that link, my CPU jumped to 45-50% because of the ad.

Link to comment
Share on other sites

I am playing it now in IE and i just started getting the problem there too. It took a little longer than FF and Opera but it still happened. I think because Flash doesn't handle memory or CPU very well. I have never used Flash before but if it has a garbage collector (code that handles memory allocation/de-allocation for those who don't know) then that might be the problem.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.