App going in to sleep mode ??

So I've notice... when I fire up my app .. everything is butter. Everything runs smoothly.   If I don't touch the screen for a few minutes.. then touch the screen.  Everything is sluggish for 2 seconds and then back to normal.
Is this some sort of process thats putting my app to sleep or something ?
How can I get around this ?
Its not a good experience when you stop touching the app for a minute or so and then it is sluggish when you resume touching.

Yes.. you are correct that it only happens in GPU mode. 
So...  implement this to your project.
http://mrdoob.googlecode.com/svn/trunk/libs/net/hires/debug/Stats.as
Then all I have in my imports are
import net.hires.debug.Stats;
import flash.net.LocalConnection;
// Add profiler but set to bottom layer so its not seen.
addChildAt( new Stats(),0 );
I know it makes no sense.. but this fixes that issue and makes my app run super fast at all times.
Please let me know if this works for you so that I know for sure that this is what solved the problem...  its been on my mind for a while now. 

Similar Messages

  • Hi Guys 'n' Gals! I have a problem with my computer going into 'Display Sleep' mode and it actually goes into full sleep mode. anyone know how to keep my Mac running software and not go into full sleep after I have set it to 'Never go into computer sleep

    Hi Guys 'n' Gals!
    I have a problem with my computer not going into 'Display Sleep' mode but actually goes into full Computer Sleep mode. Anyone know how to keep my Mac running software and not go into full sleep after I have set it to 'Never' go into 'Computer Sleep' within the 'energy saving' section!
    Any ideas guys?
    Miffa!

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the  appropriate method.

  • Goes into random sleep mode...hard to start

    My IMAC G5 will randomly go into sleep mode while I am in the middle of using it. Typically the fan noise increases and than it auto goes into a sleep mode. It also has issues starting. I have to press and hold the power button for it to kick on while also hitting keys on the keyboard to trigger it. Help!?

    iMac model? There are four large families of iMac and each has different troubleshooting issues. This forum covers older ones made between 1998-2005.
    What does "About this Mac" in your Apple menu say about your processor type?

  • HP B210a goes into a sleep mode if not used for several hours,

    Running my B210a eprinter in windows vista. The printer goes into a sleep mode if not used for several hours.  The power button is slowly flashing dim then bright, and I need to manually touch the printer's screen to enable it to print. If printer not used for several days, the only way I can make it work is to unplug and plug. Any suggestions or help appreciated.  J Rice

    What OS?  Wired or wireless connection?
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • My (2008) macbook pro, running 10.5.8 runs for about 30 seconds and then goes into deep sleep mode.  After significant difficulty awakening, it runs for 30 seconds and....start repeating here.  It did this once before about a year ago.

    .....and then goes into deep sleep mode.  When it (finally) awakens....it runs for about 30 seconds and.....start repeating here.
    And yes, I've shut dwn and restarted multiple times, rebooted in terminal mode and run fsck, rebooted and reset the parameter ram, yadda-yadda......
    Anybdy got any ideas?

    Power or other problems related to unexpected system sleep, shutdown, lights or fans call for an SMC reset. Read all the steps.
    Before Resetting the SMC
    Try each of the following steps in this order before you reset the SMC. Test the issue after completing each troubleshooting step to determine if the issue still occurs.
    Press Command + Option + Escape to force quit any application that is not responding.
    Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Still having problems? Replace steps 6 and 7 with the following:
    Reconnect just the MagSafe power adapter.
    Press the power button to turn on the computer,
    Then reconnect the battery.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if it's not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time. The power adapter indicator light may cycle off / on once.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • Macbook pro mid 2012 non retina goes ramdomly into sleep mode

    Hello people,
    I bought a macbook pro non retina mid 2012 and everything was going fine until I installed Mountain Lion OS X. From this moment, my macbook is going into a random sleep mode. It is important to notice, that I cannot see any pattern, it can happens even when I am typing something and when it happens the screen goes black suddenly and it takes some seconds to return. When I was living in Germany last year, I called apple support two times. I installed the mountain lion update the first time as they recommended and the second time I reseted the SMC settings. They said to me that if it didn't work, I should reinstall the operational system before going to an apple store. Thing is that in the meantime I returned to my home country Brazil, where we still don't have a physical apple store and unfortunately the problem was not solved when I reinstalled the operational system. I don't know what to do next. I am afraid that since there is no apple store in Brazil, I just lost the chance to exchange it for a new one... Any suggestion that I didn't try would be welcome.

    So, nobody can give me a suggestion? I am disappointed. When I googled for this problem I saw some people facing a similar problem, but their solution they offered didn't help me.

  • After updating my mac, I can no longer close the lid without it going into a sleep mode, that I can only wake by powering off.

    Ever since I have updated my Macbook Pro to the newest version of OS, it will go into a sleep mode when I close the lid that I can only wake with powering off the entire computer. I used to be able to close the lid for the night, open it in the morning, and it would be like I never even left it overnight. Now I try to wake it up with pushing everything possibe. Is this new to the update? I even tried to set the settings to "never sleep". Help!

    Try Reset SMC.
    http://support.apple.com/kb/HT3964
    Choose the method for:
    'Resetting SMC on portables with a battery you should not remove on your own'.
    Hope this helps.

  • Mac Tower Pro  10.8.5 keeps going into sleep mode

    Purchased from Apple, refurbished 2012 Mac Tower Pro.  At the same time, purchased a new Dell U2713HM, 27" monitor.
    Have been operating on this new system since about the first week of December 2013.
    Issue:
    The computer has constantly gone into sleep mode after a few minutes of no activity.  I can have iTunes radio playing, but the system still goes into sleep mode.  As  I am typing and moving the curser, the machine stays awake.
    This has caused much frustration because when it goes into auto sleep mode, it quits all programs that I am in, and when it does this, I lose all the work I had accomplished.  It litterally closes everything and goes to sleep in about 2-3 minutes of no activity.
    BTW:  the computer and monitor have all its new OEM cables that came in the box, when I purchased the units.
    Solutions attempted:
    System Preferences — Energy Saver:  computer sleep and display sleep set to "never"  and unclicked the box "Put hard disks to sleep when possible." 
    Dell settings:  Turned off all energy savers.
    Results:
    Nothing.  Problem persists.

    I apologize for the angst.  The problem has cost too much money in lost time and material because when it would automatically shut down after a few minutes, all my work was lost. 
    I misunderstood the terms of the warranty.  Thank you for your input and patience.  Much appreciated.  For the benefit of others that experience this with a new Mac that auto shuts down.  Check the following:
    1.  Go to System Preferences.
    2.  Click on Security and Privacy.
    3.  Click on Advanced  (bottom right corner)
    4.  If the first line is checked (Log out after 5 minutes of inactivity);  uncheck it and then click OK button.
    5.  Be sure to click the lock before existing Security and Privacy.
    Now the machine will cease shutting down programs to go into sleep mode as soon as machine is inactive for a few minutes.

  • Imac Randomly goes into sleep mode...Hard to start

    My IMAC G5 will randomly go into sleep mode while I am in the middle of using it. Typically the fan noise increases and than it auto goes into a sleep mode. It also has issues starting. I have to press and hold the power button for it to kick on while also hitting keys on the keyboard to trigger it. Help!?

    Here is the system log it looks like its over heating?
    Sep 22 20:37:11 Macintosh-2 mDNSResponder[23]: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 00805E00   en0/6 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 skt 8 error -1 errno 50 (Network is down) 1852846483
    Sep 22 20:37:11 Macintosh-2 mDNSResponder[23]: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 00805E00   en0/6 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 skt 8 error -1 errno 50 (Network is down) 1852846774
    Sep 22 20:37:12: --- last message repeated 1 time ---
    Sep 22 20:37:12 Macintosh-2 mDNSResponder[23]: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 00805E00   en0/6 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 skt 8 error -1 errno 50 (Network is down) 1852847774
    Sep 22 20:37:13 Macintosh-2 kernel[0]: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Full Duplex (PHY regs 5,6:0x45e1,0x0005)
    Sep 22 20:37:15 Macintosh-2 kernel[0]: IOSMUPwrController:: OverTemp notification
    Sep 22 20:37:15 Macintosh-2 kernel[0]: PowerManagement emergency overtemp signal. Going to sleep!IOPMSlotsMacRISC4::determineSleepSupport has canSleep true
    Sep 22 20:37:15 Macintosh-2 mDNSResponder[23]: Note: Frequent transitions for interface en0 (70.162.10.190); network traffic reduction measures in effect
    Sep 22 20:37:21 ip70-162-10-190 configd[35]: setting hostname to "ip70-162-10-190.ph.ph.cox.net"
    Sep 22 20:37:24 ip70-162-10-190 kernel[0]: System Sleep
    Sep 22 20:37:24 ip70-162-10-190 kernel[0]: System Wake
    Sep 22 20:37:24 Macintosh-2 kernel[0]: Wake event 0020
    Sep 22 20:37:24 Macintosh-2 configd[35]: setting hostname to "Macintosh-2.local"
    Sep 22 20:37:24 Macintosh-2 mDNSResponder[23]: Note: Frequent transitions for interface en0 (FE80:0000:0000:0000:0214:51FF:FE97:7AA2); network traffic reduction measures in effect
    Sep 22 20:37:24 Macintosh-2 mDNSResponder[23]: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 00805E00   en0/6 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 skt 8 error -1 errno 50 (Network is down) 1852859586
    Sep 22 20:37:29 Macintosh-2 kernel[0]: USB (EHCI):Port 1 on bus 0x4b has remote wakeup from some device
    Sep 22 20:37:29 Macintosh-2 mDNSResponder[23]: mDNSPlatformSendUDP sendto failed to send packet on InterfaceID 00805E00   en0/6 to FF02:0000:0000:0000:0000:0000:0000:00FB:5353 skt 8 error -1 errno 50 (Network is down) 1852860588
    Sep 22 20:37:31 Macintosh-2 kernel[0]: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Full Duplex (PHY regs 5,6:0x45e1,0x0005)
    Sep 22 20:37:32 Macintosh-2 mDNSResponder[23]: Note: Frequent transitions for interface en0 (70.162.10.190); network traffic reduction measures in effect

  • ITunes doesn't play music after sleeping mode.

    iTunes doesn't play music. I try to start any song by remote app in iPhone from sleeping mode of mac mini.
    I can see all my music library, choose any artist and any albom.
    But when I try to start the music nothing is happen.
    The button Play/pause doesn't work and the play-bar is not moving.
    This issue have appeared after upgrade to iTunes 11 and new remote app.
    After reboot iTunes everything is ok, but in a sleep mode I have the same problem.
    Please help!

    okay. i solved the problem. After reading a few other posts on related topics, it appears that using either the Setup Assistant(instead of the Airport Admin program) or if you are using the new version called 'Airport Utility' to use the option to 'Assist Me'. After going through the setup in this way it worked!
    g5 2.5, G4 DA, Macbook, eMac, aTV, 46" Samsung DLP(1080i)   Mac OS X (10.4.9)  

  • Does ColdFusion 11 go into sleep mode after a period of non-use?

    I've just installed CF11 on my cloud server (running Windows Server 2008 R2) for a shopping cart app using SQL Express Edition in the backend. After periods of inactivity, especially every morning, when I go into my app, it clocks for about a minute then errors out. Eventually, after another try, I'm able to run my app but it's sluggish for another couple clicks then it's back to normal. 
    I've been running this app on an older version of CF for almost a decade (I just upgraded to CF11 last month) and this problem never happened during that time. Can you provide any guidance on how I can fix this problem?

    Unfortunately, you really only answered the first question: Rackspace.  I would double check with them to make sure your virtual server itself isn't going into a sleep mode during off-hours.
    For question 2, you will need to log into CF Administrator and note the Application and Session timeout settings, and let us know.  Also, you need to examine your Application.cfm or Application.cfc and see if server-wide timeouts are being overridden (look for ApplicationTimeout and SessionTimeout).
    For question 3: you said in your initial post "After periods of inactivity, especially every morning".  This implies there are periods where NO users are using the app, and is quite likely when your timeouts are occurring.  If the application times out in ColdFusion, the application is stopped and the first request after it is stopped will restart it.  Depending on what you have in your Application.cfm/.cfc, this could either be a very quick process or a very lengthy one.
    Another possibility is the database.  Depending on the level of activity and if you have any scheduled database tasks running (like database maintenance/index rebuilding or SSIS packages running), the database itself could be the issue.  SQL Server Express is throttled to only use one CPU core, 1 GB of memory, and has a size limit on databases (the limit varies depending on which release of SQL Server you are using).
    -Carl V.

  • Mac mini keeps entering sleep mode

    Hi. I have a Mac mini that has this annoying problem where it keeps
    wanting to enter sleep mode. This problem seemed intermittent at first.
    What I notice is that my mini would enter sleep mode whenever I try to
    encode mp3. This seems reproducible. When it enters sleep mode,
    I can wake it up by pressing the power button. However, it goes back
    in sleep mode after a couple seconds after it wakes up. The only way
    I can get it out of sleep mode is to quit iTunes and eject the audio
    CD.
    Things I've tried:
    Energy Saver settings: Computer sleeps after 3 hours inactivity,
    display sleeps after 3 hours inactivity, unchecked "Put hard disk(s)
    to sleep when possible". I tried disabling energy save. No luck.
    I also tried to uncheck "Allow Nap" box in the Processor settings.
    However, it always checks this after a reboot.
    If I insert a DVD movie, I can watch it w/o any interruption.
    Anyone else seen this problem? Thanks in advance.
    Jim

    Hi Carl. I was unable to find com.apple.AutoWake.plist in my
    system. Deleting com.apple.PowerManagement.plist didn't
    help.
    I decided to try your open firmware instructions. I like the
    boot loader. It reminds me of the Sun's boot monitor.
    I did the reset-nvram, set-defaults, reset-all. It didn't
    help though.
    I don't think it is my power supply, either. The reason why I
    don't think this is the problem is I can watch DVD and listen
    to audio CD just fine. My sleep problem would only occur
    when I try to rip an audio CD. I can assure you that I draw
    plenty of power just playing a DVD movie.
    My guess is I have a power management configuration
    issue or a hardware problem. Since this has a Unix core
    underneath, I started poking around in the usual places
    for log files. I found the familiar /var/log and stumbled
    on system.log. Looking at the file, I found something
    that caught my eye.
    Aug 17 01:06:19 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Doing a 'grep overtemp system.log', I got the following:
    Aug 17 01:04:13 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:04:37 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:04:56 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:05:37 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:05:51 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:06:00 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:06:13 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    Aug 17 01:06:19 Jim-Fridlunds-Computer kernel[0]: Power Management received emergency overtemp signal. Going to sleep.
    If you look at the time stamp, you'll see that each event
    is only a few seconds apart. This matches with what
    I was seeing. Machine goes to sleep. I press the power
    button and it wakes up and goes back to sleep. One
    big endless cycle. The only way I managed to get out
    of it is to quit iTunes and to eject the CD.
    Yes, I did install the Xcode 2 development kit that came
    with the Mini MAC OSX setup. I eventually want to write
    software for the Mac. So, I most likely installed the
    CHUD tools package that you had mentioned.
    I think the equivalent command line command for
    disabling the nap feature is 'hwprefs -v cpu_nap=false'.
    When I do that, I get the overtemp event and my mini
    goes to sleep. Zzz.
    In any case, my mini seems to be detecting false overtemp
    condition. Either I have a bad temp sensor or my power
    management overtemp threshold is set way too low. It's
    possible encoding audio CDs is enough to heat up the
    PPC core, but it happens way too fast. I'm thinking my
    temperature sensors are not set correctly. If anyone has
    schematics for the mini, it would most likely be a Dallas
    temp sensor chip. I'm not ready to open up my mini yet
    since it is still under warranty. I'll take it in the Apple
    store in Walnut Creek this weekend.
    Anyway, thank you guys for all your help. I found my
    experience on this forum to be quite pleasant. People
    here are very helpful.
    Jim

  • HP Pavilion starts up in hibernate/sleep mode and remains there - there is nothing on the monitor

    I have an HP Pavilion Elite HPE-250f (Core i7) desktop computer.
    I was using the internet. Suddenly, the computer made some sound, and the screen went blank. The computer seemed to go into its usual hibernate/sleep mode. Usually, when the computer goes into hibernate/sleep mode (after some period of not being used), the color on the power button changes from blue to yellow. But, this time, the color remained blue.
    Usually, I can move the mouse and get out of this mode. But, this time, I moved the mouse, and nothing happened.
    I pressed and held the power button and turned off the computer. I then turned the computer back on. The power button was blue, there was a green light on the back of the computer, and the fans were working. But there was nothing on the screen.
    I restarted several times, and there remains nothing on the screen. There is no beeping sound when the computer is restarted.
    What do I do? Please help. Thank you.
    This question was solved.
    View Solution.

    I removed the RAM memory cards and reinstalled them. That solved the problem.

  • Straight to Sleep Mode when powering On

    Once Verizon service has been activated, when the iPhone 5s is turned on (from being off and not from being asleep), it bypasses the home screen with the slide bar and goes directly to sleep mode.  The home screen with slide bar appears briefly, but not long enough to slide the bar.  Verizon says this is normal, but Apple says it is not.  Has anyone else experienced this problem and resolved?

    Hey John,
    This sounds like a problem with the reed switch circuit. The reed switch activates the sleep circuit via action from a magnet in the palm rest. It's on a tiny board and mounts to the side of the display. It's a normally open switch and the magnet causes it to close > computer goes to sleep. These can break and parts will rattle around in the glass tube that forms the reed switch and at certain angles the switch will short out and the computer will go to sleep. Actually if this happens the computer will not go to sleep (usually) when you close the display. You can check this by finding the magnet in the top case. Usually near the right of the keyboard (I use a nail clipper) Then use a small magnet at the corresponding place on the display to check the sleep action of the reed switch.
    Upon reading your post more carefully it's probably the reed switch wire (green, black) that runs up to the reed switch. Usually shorts near the hinge point. If you're confident opening up the iBook or know someone it's easily fixed.
    Richard

  • Help: Macbook goes into deep sleep instead of sleeping

    Any time my Mac is supposed to go into sleep, like when I leave it alone for 15 mins or close the lid, it goes into deep sleep (hibernates). How do I fix this?
    Also, it started happening after I changed the starup disk from Windows to OS X through the boot camp control panel in Windows.

    Just reset the SMB following these instructions: http://support.apple.com/kb/HT3964 and still having the same problem. However I realized two key things:
    The computer goes into Deep Sleep mode whenever I tell it to Sleep (Even if I use the Sleep button in the Apple menu)
    The above only happens when the power adaptor is plugged in. When running on batteries Sleep seems to work properly
    While typing this up I just realized that a widget I have called Deep Sleep for dashboard might be causing my problems, and sure enough... it is. Apparently there is a setting on there that lets you make your Mac's "regular" sleep mode Deep Sleep and I probably turned this on without realizing it. For anyone who's reading this I'll try to keep you posted on if this fixed the problem or not... if I don't post anything else on here you can assume it's fixed. Watch out if you use the Deep Sleep widget
    Message was edited by: musicmannn

Maybe you are looking for

  • WRT54G: How do I limit access to specific ports, only to local IP's

    Using a WRT54G with Windows XP, and I've setup a web server that I'm still testing. Until I understand the security better, I want to limit access from outside IP's to the port that it's running on, but NOT limit access from the outside to services r

  • My iPhoto Library won't open. Help needed!

    Hello all. I'm hoping someone who has had a similar problem or someone who's great with stuff like this found a solution by now. I upgraded to iPhoto 9.6.1. Then as I proceeded to open up iPhoto, it told me that if needed to conduct repairs. After it

  • Tomcat5 and precompiling JSPs with Ant

    Hi I'm trying to precompile my JSPs in ANT and I'm using Tomcat5. Below is my taskdef: <target name="jsp" depends="build">     <!--          The Ant JSPC task doesn't work with Tomcat 5.0          so in the meantime we need to define our own task.   

  • Officejet 7612 Wide Format e-All-in-O​ne

    Hi, my printer shows a message wireless communications has been disabled, and I cannot access the wireless setup wizard,  can someone help me to fix this. Thank you

  • I m not able to paste files in my windows partition

    Please help me to do that i dont want to format my pc.