Game FPS drops upon playing for 3 hours

Description :Hi...I am a game programmer and i have made  a game where there is a character which has to select the right pieces and avoid the wrong ones. the pieces/food come from top, the character jumps and fetches them. Thats why we are keeping a gap between the pieces to avoid the character touching the wrong ones. I have made it in AS3
Problem : When I win the game and keep re-playing it continuously for more than an hour i notice that the gameplay gets slow(slow FPS). The behavior and movement of the characters become slow. Upon playing for 3 hours the slowness is easily noticeable. This also happens when I minimize the game window or get the focus off the game to some other window for a long time (half an hour or more). The problem doesn't come if I play once or if I lose the game and try again. This comes when I keep playing it for a longer time.
Please suggest if its a programming end issue or a operating system scheduling problem or Flash related bug, and please help in solving it.

This is probably related to memory usage building up over time due to objects being not destroyed properly. object references and event listeners not removed, loaded SWF not unloaded, XML not destroyed, BitmapData not destroyed, etc all cause the garbage collector to ignore your deleted object. Grant Skinner's old article is good place to start: http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html

Similar Messages

  • Its been like a week that i bought new iphone 5s but whenever i play games or talk in skype for an hour my iphone get extremly hot... idk why?

    its been like a week that i bought new iphone 5s but whenever i play games or talk in skype for an hour my iphone get extremly hot... idk why?

    Why? Because it is working the processors hard. Same as when you work or exercise, your body gets hot, so does the iPhone when it is working. Skype and many games will tax the processors more so than browsing the internet, sending texts or email. So, it gets hot. If it doesn't cool off fairly quickly after you quit Skype or playing your game, or it gets hot when doing less taxing activities, then you might want to have it checked out.

  • I recently got a new iphone but when I restored it in iTunes one of my games that I have played for months RESET. How do I get my old game info back?

    I recently got a new iphone but when I restored it in iTunes one of my games that I have played for months RESET. How do I get my old game info back?

    If you made a backup before you restored it you can restore your iPhone from a backup and your game data should be restored.  When you connect your iPhone in iTunes you can right click on it in the sidebar and select restore from backup.

  • I cannot log in my game center using a same nickname after i updated my phone to ios 7. All my game data i was playing for months is lost. Seems when i try to put my nickname its already in used. How can i recover all my game data back?

    All my game data i was playing for months was lost. Seems when i trie to put my nickname its already in used. So i need to put a new nickname then it create a whole new acc for me. All my previous data was lost. How can i recover my all my data or use my old nickname? Pls help  

    kerryp123
    Yes, it is the same with me. I know a friend how upgraded to iso7 and lost all of his game center data. He tried singning in and re singning in but no change. Plus on to of all of this, apple is like have me and him to re-validate our itunes acount. Somthing weried is going on. So verified my itunes acount and it shows under settings that I am signed in, but when I go to  the app store on my iPhone and try downloading or even updating a app, it says "can not conect to itunes store" after singing in! AND I'M NOT SURE I AM GOING TO UPGRADE TO ISO7 YET UNTILL THEY FIX THIS BUG!!!! HELP!

  • I unplugged my iPod Classic without ejecting it first. It played for many hours after this but then it just stopped working and it has a blackened screen that seems to say paused. Wondering if there is a way to get it to work again.

    I unplugged my iPod Classic without ejecting it first. It played for many hours(about 8) after that but then suddenly stopped working and it has a blackend screen that seems to say paused. Wondering if there is a way to get it to work again.

    Hey hughborg25,
    I found an article that can help you troubleshoot when an iPod becomes unresponsive or the screen goes black:
    iPhone, iPad or iPod touch: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    I would go through all the steps listed there, and the issue should be resolved by the end.
    Live long and prosper,
    David

  • Flash Game FPS drop in HTML

    I'm developing a game in Flash, and it runs fine in the Flash
    Player. When I open it using the .html file though, the FPS drops
    drastically. The FPS for the .fla is set at 30, but my FPS counter
    in the game rarely goes over 24 (tested on multiple computers). My
    question is if there is something I can do about this - is there
    some kind of setting that needs to be changed, or is it just a
    problem inherant to the web browser?

    Just to anyone who might be having the same problem with lag
    in browser (which seems to be a rampant problem), I seem to have
    found a solution. I was searching around and randomly found a
    comment with someone who used 33.5 fps for the settings, which
    worked for them. So in desperation, I tried the same. Strangely
    enough, it seems to work, but only under certain computer
    configurations. For people using Itel CPUs, running the Flash game
    through Internet Explorer, the game runs at a perfect 30 fps. For
    CPUs from AMD or running in Firefox, the game still lags. Hope this
    helps someone.

  • Games I have been playing for months suddenly told me to update my Flash Player, but . . .

    A few days ago, games I have been successfully playing for months on Club Pogo suddenly tells me my Flash Player needs to be updated to the most current version.  But upon clicking the link and being brought to the Install Abobe Flash Player page, it tells me I already have the most current version for my operating system installed. 
    I've tired uninstalling and reinstalling it and I've checked for software updates for both Safari and Flash Player, but nothing seems to be working.
    I am quite frustrated and I have no idea what to do next.  Any help would be greatly appreciated.

    Nothing you can do; your OS version does not support any newer Flash Player versions.

  • How do I get my security settings to allow access to yahoo games I have been playing for years and now can't play with this P.O.S. update 26.0 and Java update?

    I recently updated my Firefox browser to version 26.0 and my Java to version 7 update 51 and now I can't access any of the Yahoo games I have played for years. I get a box that says "your security settings have blocked an untrusted application from running. Also, the box has two other lines; Name: ygames_applet and Location: http://yog10.games.sp2.yahoo.com. After all this time, this browser and my Chrome browser both give me this crap when I try to log in to yahoo games.

    See:<br />
    What should I do when I see a security prompt from Java?:
    * http://www.java.com/en/download/help/appsecuritydialogs.xml

  • GT70 2OC fps drop when playing League of Legends

    So I've been playing League of Legends for quite a time with GT70 2OC, I've always maxed the graphic and also disabled v-sync, it hasn't be a problem. But recently, my fps will drop just at anytime when I'm playing League of Legends, even tho I tried to lower the graphic and also enabled v-sync, the problem doesn't solve, any suggestion to fix this problem? I really need some helps

    hi RX8,
    i used to install a cracked version of OS and having same problem like this.
    sometimes there will be missing file but it would be found couple days later.
    sometimes there will be software issue, for example, no sound during mp3 play or video play, but couple days later it will be solved automatically.
    after that, i installed an official OS Win7 then all the problem gone....
    Quote from: RX-8 on 16-March-15, 15:53:33
    Thanks for reminding me of the HDD problem.
    I met this kind of problems before because of my HDD is having bad sectors.
    Checking the healthy of the disk is a good idea.

  • Hi i am havin trouble with my ipad after i have downloaded a game and have been playing for a while it seems to of diapeared and the screen goes a white blank background there is nothing on the screen at all so i switch it off and back on and it is white

    hi i am having trouble with games on my ipad as i have been playing them the screen goes white and i can't play the game i go back to the game centre on the ipad and click on the icon for the game and come up to play i push play buton and the screen come up again white so any body had the same problem could they let me no thanks

    Quit the game and restart the iPad.
    To quit the game - Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If that doesn't work try this.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • GE 620DX heating and FPS drops while playing the secret world

    I bought this laptop a month ago and everything works/plays well (LOL, Walking dead, HON, SC2 and Diablo 3) but everytime I play TSW on low (everything set to 0), my laptop becomes really hot like 85-89 gpu temp. It's hot that you can burn your fingers if you touch the vent. Is this normal or should I return it to the seller? Thanks!

    If it has instabilities you should definitely return it to the reseller.
    If not, it might just be some driver/game compatibility issue.
    Can you check if you have the latest driver installed.
    http://www.msi.com/product/nb/GE620DX.html#/?div=Driver&os=Win7%2064
    Also check on the website of the game if there are any patches available.

  • MSI GT683r Massive fps drop (CPU overheating)

    System Information:
    http://www.msi.com/product/nb/GT683.html
    OS: Windows 7
    Brand: MSI GT683R-242
    CPU: intel quad core i7-2630QM @ 2.00 GHz
    GPU: Nvidia GTX 560M 1.5 GB GDDR5
    RAM: DDRIII 16GB(4GB*4)
    HDD: 1TB (500GB*2 RAID 0)7200 RPM
    Hello, I'm having a lot of problems with my cpu temperature being high especially when gaming and this results in getting intermittent FPS drops when gaming. My fps when gaming drops to about 10fps (this doesn't necessarily happen when I'm in a particular FPS intensive condition either, could happen when I'm just walking around in the world). I've noticed my CPU temperature is close to 90 degrees when this occurs (I realize it's due to the core temperature being too high). It shouldn't matter what game since I should not get these FPS problems with a laptop like this but the game I play is a MMORPG called Rift.
    After playing Rift for about 1 hour and a half mainly in pvp battlegrounds (15 players per team in the battleground so a total of 30 players), my core temp for my cpu reach the high 80 degrees and I’ve received 4-5 massive fps drops while playing during this time. I was able to screenshot my FPS during the FPS drops and I obtained a few screenshots while playing in game. See screenshots below.
    NOTE1: CPU core Temperature is shown in the upper right of the screenshots, the running processes from the task manager is also shown in most of these screenshots.
    NOTE2: I play with the native resolution of my laptop 1920 x 1080. I normally play windowed full screen but I include the CPU core temperatures & Task Manager so it wasn't window full screen. Also, I did not have the Turbo and the Nvidia Overclock Tool activated but I've tried both in the past and have not noticed a noticeable difference in my FPS drops while using them. (I  also get FPS drops while using the Turbo and Nvidia Overclock Tool).
    NOTE3: I play the game with medium settings to try to alleviate this FPS problem but I've had FPS problems still happens even in low settings.
    After restarting my computer my idle temperature on all my 4 cores according to core temperature sits around 45 degrees (fluctuation + / - 2 to 3 degrees) with practically no processes running (close to 100k memory in the task manager processes).
    When loading up Rift and being IDLE in town my cpu temperature fluctuates between 50 and 61 degrees. CPU usage in task manager fluctuates between 10-16%.
    My Normal FPS in a combat environment playing Rift (fluctuates a little obviously but it's usually in the 25 FPS range), FPS can be seen on the bottom right of the Rift client (performance area)
    FPS drop result after CPU temp overheating, FPS can be seen on the bottom right of the Rift client (performance area). The CPU temperature was in the high 80's before this FPS drop.
    CPU temperatures while idling in town after a battleground (I also get FPS drops in town and dungeons as well but usually not as frequent as I do in a battleground or in Raids)
    CPU temperatures while killing a boss in a raid, there were probably about 100 players in the environment, I had a huge FPS drop just after taking this screenshot
    I also took a Screenshot of my core temp about an hour after I stopped playing, My CPU temperature was constantly fluctuating between the low 60's to high 70's when my computer only had a few processes running.
    I've looked around for a solution for this problem but I can't seem to find one. I haven't physically opened my laptop to check if there's an issue inside but I've only started having this FPS problem since about 2 months. I had no FPS problems until recently.
    Not sure if it matters or not but my NVIDA driver version is 296.10. I've tried reverting to the previous driver to see if this latest driver update was the problem but it didn't change anything. Other things I've tried is changing some settings in the NVIDIA control pannel but this has not worked either. I've even tried playing my game on the lowest settings and still had intermittent FPS drops. I've browsed through the forums and some people have suggested flashing the BIOS but I'm a bit skeptical to do that. I also attempted to call MSI customer support and left a message but they have not returned my call yet. Anyone got any suggestions to fix this problem?

    The simple solution is to open the bottom and blow out the air through the center of the fan with canned air.  The vents arent plugged but the fan itself probably looks like a fuzzy mop.  Shoudl fix your problem and will not void your warranty.
    The ideal solution is to pop the heatsyncs of the CPU and GPU, replace whatever crap their using with artic silver and appreciate a refined machine.  Not only will you not have overheats but your machine will use its fan less and thus be quieter.  This WILL void your warranty... but its worth it.  Just dont do it unless you are savy.
    Other then that.  Lifting the laptop off the ground is ESSENTIAL.  Look at the bottom.  It has vents.  Ask yourself.. "Self.. what could these vents possibly be for?"  Self will hopefully reply "Well Self, I would say they are there for cooling."  "SO self these vents have a purpose???"  "Yes, self, they do.  Their purpose is cooling and airflow"  "Well then why do we not have airspace allowing air to actually get into these vents?" "Because self.. we like it flat....  Like a tire thats soon to be on fire..." Hopefully after that your enlightened self will go get a stand.  If you want the lowest profile you can get you need a thin cooler system, if you dont care about that just buy a stand that permits airspace and flow.  I mean your running an advanced gaming rig.  In a normal box these components may have 4+ fans... Your laptop has one.  Help it out.
    The good news is perhaps cooking your cpu will have a burn in effect and make it clock to higher speeds... However I doubt it.  Chances are you are cooking everything from said chip to your HDs and you should stop, because that MIGHT void your warranty.

  • Why does my mid-2010 Macbook Pro suffer from huge FPS drops whenever I try to play games?

    Macbook info: 2.66 GHz Intel Core i7, 4GB 1067 MHz DDR3, nVIDIA GeForce GT 330M 512MB
    When I play games on my Macbook Pro, such as League of Legends, Diablo III, World of Warcraft, etc., they operate well with latency of ~80ms usually and fps starting off between 30-60, but after only a couple seconds or minutes my fps drops to 5-15 and the games become unplayable and I must force quit the program. Restarting the computer helps temporarily but then it relapses.
    I cleaned out all my downloads, applications, and other deletable files that I could find. I installed and updated Mavericks OS X and the issue persists. Before I installed Mavericks I noticed in Activity Monitor that almost all of my memory was in use while playing a game. After Mavericks the memory is almost all permanently in use, but from what I've read this is what is supposed to happen and instead of looking at memory in use you look at memory pressure, which looks normal.
    I was going to upgrade from 4GB RAM (current) to 8GB RAM and see if that helps but idk if that has anything to do with my fps issue or not. Any thoughts?

    Alright well I'm definitely not running virus scans or doing system backups and then complaining about slow performance.... The only other application running besides whatever game i'm playing is SMC fancontrol to make sure my computer isn't overheating. 
    In terms of CPU%, games like WoW and LoL take ~50-60% of CPU while active, but activity monitor still reports ~80% idle. For disk activity, i'm not sure whether it uses optical or not, I assume i just uses the hard drive, which is brand new cus it broke down about a month ago and I had to replace it (the fans are brand new as well, so I don't think it could be build up of dust or anything inside because it was opened and cleaned so recently). 
    I can set all graphics setting to lowest possible and improve my fps to 20, which is still awful, and enabling vertical sync just sends it back down to 15 fps. I don't see why I should have to use lowest graphics settings anyway. It can't be out of date drivers since i have 10.9.1 running. Could the graphics card be the issue? That would suck since I can replace and upgrade RAM but not the graphics card.
    I have repaired disk and disk permissions multiple times, virus scans, the whole gambit and nothing seems to help.

  • Constant FPS drops paired with sound stutter on litterally every game I play

    Hey everyone.
    So for quite a long time now I've been getting framerate drops in litterally every game I play.
    MSi GE60
    CPU: i7-3630QM
    Graphics Card: Nvidia GeFoce GTX 660M
    The FPS drops are always paired with sound stuttering, be it the game sounds or music I'm listening to. It really makes it impossible to play, I've tried dealing with it for a long time now but it's been getting on my nerves immensely lately.
    Games it's happened on:
    Path of Exile
    League of Legends
    World of Warcraft
    Hearthstone (!!!!!!!!!!! I mean, really? Hearthstone? I can't run the simplest card game? :/)
    I know my laptop isn't a top tier laptop but even on the very lowest settings I can't seem to run any game smoothly. And it isn't just FPS drops, it's pretty much always. Some games, like Path of Exile, it's even on a constant like 5 FPS which makes it impossible to play.
    And yes, I'm running the games on the Nvidia. I've tried multiple things, I even reset my laptop to factory settings and it's still this bad.
    It wasn't happening when I had just bought the laptop, as far as I can remember. It's about a year old now and it's been happening for, say, 8 months or so.
    If someone has experienced/solved this issue, please try and help me out. If you need more information, ask (and tell me where/how to find it, I'm pretty bad with laptops/PCs), and I'll post it.
    Thanks in advance!

    Most likely the heatsinks aren't seated properly or the heatsink compound wasn't applied correctly.
    This is fairly common, and I had the same problem with my GT70 0NE when I purchased it.
    It's fairly easy to remove open the bottom of the laptop up, remove the heatsinks and clean and re-apply the thermal compound, and then re-seat the heatsinks. Takes maybe 30 minutes if you're slow and careful like me.
    If you don't feel good about doing it, then I suggest doing an RMA.
    >>How to contact MSI.<<
    ALSO, as long as you don't screw anything up inside the laptop, the warranty will still be good. Don't worry about the sticker on the bottom. It's mainly there to keep people from opening it up, but you have to be able to in order to add more memory or another HDD/SSD.

  • 970 4G FPS drop for second screen when playing full screen video

    Hi,
    I have two 1440p monitors connected to my graphcis card using DVI connectors.
    Whenever I play a full screen video on the secondary screen, I was always get an FPS drop. It doesn't matter if I switch the cables around to make the other one the secondary screen.
    I have tried replacing the monitors and the same thing happens and I can only conclude it must be the graphics card.
    Does anyone know how I can troubleshoot this problem?

    Quote from: krash.raj on 31-May-15, 20:04:19
    1) I'm not familiar with this concept. Why would switching port type provide more bandwidth?
    2) Also, the card I'm referencing only has 1 display port connection. Would using one dvi and one display port cable work?
    1) Google for "dvi", "hdmi" & "displayport" and you'll find out why.
    2) use DisplayPort + dual-link DVI (always suggested by Nvidia)
    http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-970/specifications

Maybe you are looking for

  • Activate customer invoice form in SAP

    Hi Expert, Need your advice. We've encountered incident whereby when sending the document type = DR (Customer Invice) for trigger correspondence at T-Code : F.61.  When spool out the printing, system propmt out error message : Form Z140_DOCU_EXC_02 (

  • Link to url, "_self" is opening a new page...

    I am trying to get my button to navigate to _self and the link is opening a new page. Is there something wrong in my code? my_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); function mouseDownHandler(event:MouseEvent):void {     naviga

  • Itunes music file to re installed itunes

    had to re install itunes,i want to add itunes from "my music" from previous itunes installation. but how? cheers

  • Clearing old erroneous address info from imac memory

    When I type in addresses, Address book automatically fills in the rest of the address. This is great except when it keeps putting in old adresses that are no longer correct. I have made sure that the listing in Address Book is current and correct but

  • Date input seems to be going to US format when it should be uk

    I am access a site that requires a date input, under chrome and IE the input is fine under safari it is invalid and appears to be in US format, is there a way of changing this