Memory Leak when just launched and Idle..  fixes when being used ??  [HELP]

So I'm in the debugging and testing phase of my app and using this tool for tracking memory leaks ( https://github.com/mrdoob/Hi-ReS-Stats )
When I launch my app my numbers are
FPS: 61/60
MS: 17
MEM: 3.157
MAX: 3.157
Now immediately my memory starts increasing    from  3.157, 3.167, 3.177, 3.187, 3.197 and so on.
Now if I make any nav selection in my app
MEM changes back down to about 3.215
but then it starts its count again   3.215, 3.225,  3.235, 3.445, 3.455
I don't have any loops happening.
Has anyone run in to this ?
I'm almost tempted to force garbage collection every 60 seconds that the app is idle or something.  Not the best way to handle this ..   I just dont know where the leak is happening.
Any support is appreciated!
Cheers!

Hi there - I just had the same query a couple of days ago (http://forums.adobe.com/thread/977174?tstart=30).
I saw the same symptoms on my app so I built a blank app with just the profiler on stage. I've been monitoring it for a few days now and notice that memory does creep up even when the app is left idle (apart from the profiler) - but ... and this is the important bit ... it does periodically get reduced back to the starting point (when the garbage collector kicks in and memory is released).
When I was monitoring my app the time through this cycle could be well over 5 mins.
If you actually use the monitor when putting your app through it's paces you'll see memory being gobbled up more rapidly and hopefully (if you've no leaks) the garbage collection kicking in more regularly and bringing the reported usage back down.

Similar Messages

  • I have Lightroom 6 (not CC) on a Windows machine.  I'm prompted to log into Creative Cloud when I restart my computer (I don't have, use, or pay for Creative Cloud), and then when I launch Lightroom, it tells me to use the application I have to log into m

    I have Lightroom 6 (not CC) on a Windows machine.  I'm prompted to log into Creative Cloud when I restart my computer (I don't have, use, or pay for Creative Cloud), and then when I launch Lightroom, it tells me to use the application I have to log into my Adobe account...AGAIN!  And then to further add insult to injury, I'm prompted to enter in the license number of my product.  I've gone through this process a dozen times now...SCREAM!!!

    Paulou12 what type of a Creative Cloud Membership do you have?  You can find details on how to update Lightroom using the Creative Cloud Desktop application at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    Finally if you are in a managed environment then please work with your I.T. department to apply the update.

  • How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    Vera,
    Use View > View Options, and set 'Sort By" to "Manual Order."
    Then you will be able to drag-n-drop songs up and down the list.

  • Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but worked only in Mail.  Lost formatting when just copied and pasted in email.

    Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but PDF worked only in Mail.  Word worked in nothing.  I also tried copying and pasting the document but lost all formatting when just copied and pasted in email.  Is there a way to do this?

    Are you sure PDF won't work? It should as what you're trying to do is pretty much what it is designed for (PDF - Portable Document Format). On a Mac anywone who receives the file should be able to see it in all its page layout glory by using the app Preview or Adobe Reader. Same on a PC, the file should be viewable as a PDF file using Adobe Reader and probably some other viewer (don't use PCs so not sure what other apps).
    What application are you creating the file in and are you sure you're exporting it correctly in PDF format, fonts and images embedded?

  • Why my Apple ID stopped when I buy and why the supporter can't help and why they don't reply to any email I send

    Why my Apple ID stopped when I buy and why the supporter can't help and why they don't reply to any email I send so what should I do in this moment I need guide and help so as a request please reply me back  Thanks ....

    As I said in my above reply we are fellow users, we won't know why your account is disabled.
    You might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your phone by tapping on your id in Settings > iTunes & App Store and then log back in so as to 'refresh' the account on it.
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Should iphone 4 receive messages when turned off and display them when switched back on

    should iphone 4 receive messages when turned off and display them when switched back on

    It's up to the cellular carrier, but I believe most (if not all) will enqueue the messages when your iPhone is off.
    So generally speaking, a few minutes after you turn your iPhone on, your messages should display.  Similarly, your voicemails would arrive.

  • TS4002 I'm trying to create a new apple-id but when typing the email adress I want to use I'm told that the particular email adress is not allowed but when searching I can't find same being used. How do I find out where that particular email adress is use

    I'm trying to create a new apple-id but when typing the email adress I want to use I'm told that the particular email adress is not allowed When searching I can't find same being used anywhere. How do I find out where that particular email adress is used so I can delete it there and use it for my new apple-id?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    Also
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.

  • Error message when opening a document "this document is being used by another user

    error message when opening a document "this document is being used by another user, do you want to make a copy?
    I select yes, then new message - word can not open this document.the document might be in use or it may not be an invalid document.
    Any suggestions?

    Hello MrNeuf,
    I would recommend releasing and renewing the IP lease on the affected computer. The following article provides further information and details the process of doing so.
    Mac OS: How to release and renew a DHCP lease
    http://support.apple.com/kb/TS1920
    Cheers,
    Allen

  • I keep getting "Device not properly ejected" message and no device is being used.  Help?

    I keep getting "Device not properlt ejecte" message and no device is being used. Help?

    Hello,
    No external Drives, camera cards, or CDs/DVDs in use? Any Network Volumes mounted?

  • Memory Leak/Track Pad/Mouse and Headphone Jack

    Help-
    I have a Macbook with the intel core duo. 4 GB of RAM.
    Context.
    Computer is used as a media server. Stereo is connected via an optical link from the headphone jack to an external digital to audio converter. Music is stored on external 1 TB My book. Computer is left on and idle for extended periods of time.
    Problem:
    As the computer is left idle, the trackpad/mouse become increasingly unresponsive. Eventually they stop responding all together. Un-responsive means they jump and can not be maneuvered around the screen in smooth movements. System fan begins to run as this problem gets worse and system monitor indicates memory continuing to be consumed despite no applications running other than startup apps. ---*When the optical jack is removed from the headphone jack this problem disappears*--- and the system returns to normal.
    Please help. I specifically purchased the macbook to serve as the platform for this media server and leaving it running for extended periods of time with no use is normal for me. Having the computer lock up because I have the optical headphone jack plugged in is unsat.
    Thanks -
    Hud

    i also made a topic about this, i'm not sure if you're still watching it, but I found the solution by coincidence when playing around on youtube.
    http://jp.youtube.com/watch?v=iAQ79JT0agY&feature=related
    "Discovered it was an issue with the headset jack. Something was triggering the digital audio jack inside. Simply cleaned the jacks and everything started to work again."
    I didn't mention earlier that when i left my headset connected, the volume icon in the menubar would go up and down in short intervals (similar to the youtube clip) Even though I can't understand how, this must have been the issue, as I just cleaned the jack, and the problem is gone. Hope this helps you as well!

  • Memory leaks continuing in Safari and Web Kit

    Will Apple ever fix the Safari memory leak?
    As many of you know lots of reports over the years of Safari & Webkit having problems with memory leaks, and haven't seen a fix to it yet. This is a very important factor for usability of Safari.
    A memory leak is when, after a period of time, your browser, which is the online field that's designed to function like a page and is used to access web pages and surf the World Wide Web, consumes more and more of your computer's memory until it reaches a point where it literally becomes impossible to use your computer. It's like your computer's stuck in cyber mud. You have to close any open software program or restart the entire computer.
    Safari starts about 426.9 MB of real memory and 412.6 MB of virtual memormy and can go up to 1Gb of memory.
    Has anyone come up with a fix to this problem ? If anyone has a workaround for this, please share it.
    Meanwhile, Apple really should eliminate this problem once and for all.
    FYI, I'm using Safari version 5.0.3 and the latest WebKit r72487 which was built on 21 November 2010.

    My experience is that the same thing happens with Firefox and Chrome. The only difference with Chrome is that since the tabs are separate threads, they consume memory separately. The nice thing about that is that once the tab is closed memory is instantly freed. However, the helper thread always gets larger. Whether this is a memory leak or a consequence of having an application open over a long period of time is -I believe- open to discussion. I have experienced similar results with Eclipse (a memory intensive application). Daily shutdown/reboot and a few "Quit"s per a few hours fixes this issue. I don't know whether you would like to do this, though.
    Using Safari 5.0.2.

  • Memory leak with large files and this code?

    Okay, so the following code will not complete. 
    Basically what I am doing is opening 5 files and generating a PDF document from the already opened Report file, which is renewed prior to the PDF export operation.  I left out the general stuff at the start.  I am also writing out the location of the PDF to a HTML file, which acts as an index of the exported PDF documents.
    I believe it is due to some sort of memory leak issue, but it could be something else or just my code.  I have not stepped through this code, but for small file sizes of say less than 40 megs per file, it works fine.  For file sizes along these lines:
    File 1 = 230 megs
    File 2,3 = 26 megs
    File 4,5 = 8 megs
    it will belch erors at the end of about the 5th iteration through the For loop.  It will complete the 5th iteration however.  Here are the errors generated:
    84   10/26/2006 9:35:15 AM Error:
    85   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p1.TDM" file is invalid.
         (Error no. 6)
    86   10/26/2006 9:40:19 AM Error:
    87   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p2.TDM" file is invalid.
         (Error no. 6)
    88   10/26/2006 9:45:17 AM Error:
    89   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p3.TDM" file is invalid.
         (Error no. 6)
    90   10/26/2006 9:53:07 AM Error:
    91   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p8.TDM" file is invalid.
         (Error no. 6)
    92   10/26/2006 10:00:39 AM Error:
    93   File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p9.TDM" file is invalid.
         (Error no. 6)
    94   10/26/2006 10:01:01 AM Error:Error occured during file creation.
    95   10/26/2006 10:01:01 AM Error:
         Error in <GM315 Pa...sing.VBS> (Line: 185, Column: 5):
         File handle for "W:\TR-2051-2100\TR-2060 - BAS Arctic PTC\Vnom\00-99\VnomCombined00-99\p1.TDM" file is invalid.
         (Error no. 6)
    For files of a larger size, like:
    File 1 = 7500 megs
    File 2,3 = 80 megs
    File 4,5 = 25 megs
    This occurs after about 2-3 iterations through the loop.
    see attachment for code.
    Attachments:
    ForLoopCode.txt ‏11 KB

    i am having a similar error randomly inserted in the log 
    25   10/1/2009 1:58:36 PM Error:
    26   File handle for "C:\Program Files\Summitek\Spartan\data\tdm\S Parameter Test $SSN$ 49.TDMS" file is invalid.
         (Error no. 6)
    and
    31   10/1/2009 1:58:37 PM Error:
    32   File handle for "C:\Program Files\Summitek\Spartan\www\temp\Test_$SSN$ 49_602313172.pdf" file is invalid.
         (Error no. 6)
    it doesn't seem to be causing an immediate problem, but i have had several unexplained Diadem lockups.
    they occur in log after i use CALL DATAFILELOADSEL and CALL PICpdfexport
    help? what does this mean
    jim

  • Memory leak in oracle.exe and mds.exe

    We are facing Memory leak in oue MDM server. Our environment details
    are as follows;
    MDM 5.5 SP5 ( Build 5.5.41.70)
    Oracle 10.2 patch 2
    windows server 2003 SP1
    XI 7.0 SP 9
    If server is running continuously 3-4 days then Nonpaged memory is
    getting exausted and server does not respond. Now we have to retart the
    windows server manually.
    If we see the task manager it is shows more than 200,000 handles for
    oracle.exe and more than 100,000 handles for mds.exe.
    1: Oracle.exe -- more than 200000 handles ( Approx >5000 is problem)
    2: Mds.exe -- more than 100000 handles ( Approx >5000 is problem)
    Since these applications are not releasing the handles properly so all
    nonpaged memory gets exausted and server stops responding.
    If we restart the mdm server, database and OracleserviceMDMD, then
    nonpaged memory is released. But some times even if we restart these
    services, we do not get nonpaged memory released. So we have to restart
    the windows server.
    please help me if anyone else have faced the same problem.
    regards
    Saurabh

    Closing as question is answered in MDM forum.

  • Run scripts when program launches and quits?

    Howdy all!
    Skipping the details: I need to run an AppleScript when a specific program launches and run another AppleScript when that program quits. Anyone know of a free/easy way to do this? (A custom script would work great but my knowledge of AppleScript is limited.)
    I have found a few programs that can do this but have yet to find the "perfect" one. For example: In the past I have jury-rigged ControllerMate to do it, but this is for a new computer and I don't want to spend $25 for this simple purpose. I also found Do Something When but the program hasn't been updated in 6 years so I am hesitant to use it.
    Any other thoughts on free programs or where I could find info for a custom script?
    Matthew

    You will need to use something that can observe NSWorkspace events.  An Applescript can be used, how easy depends on the OS you are using (if you are still using Leopard, you will need to use Xcode).   Do Something When still works, as far as I can tell. 

  • After downloading latest update to my iphone3, I found a 'game center' app.  When I opened and tried to sign in using my current info it keeps rejecting my password as already being used. Yes, by ME. How do I get past this?

    After downloading latest update to my iphone3, I found a "game center" app.  I opened and tried to sign in using my current info and kept getting msg that password  already being used (yeah, by me).  How do I get past this so I can download and use my games?

    THANK YOU, LIMNOS, I FIXED IT!!!!!!!! [And yes, I was being REALLY dumb.]
    Just in case the following is helpful to anyone else:
    The switch has to be done manually since all of the sort categories--except album artist--have changed to automatically sort with articles, which is a bit of a pain if you have a lot of articled artists, but there is actually a way to WRITE IN how you want your artist (or whatever) to sort. I just changed my POLICE to COPPERS as a test, and by golly now all the music comes up/is reorganized under C right below Coolio, still listed as The Police!
    Before the newest update, the auto-sort always sorted ARTIST to my liking (i.e. ignoring the article), so I never bothered to check out any other tab save Details and Artwork, but voila:
    [For any other dummies out there, here's how to get to this screen: right click song or songs-->Get Info-->Sorting.]
    Dankeschön, Limnos, really appreciate it!!! But hey, I guess it could be worse when you only have use of half your brain...

Maybe you are looking for

  • How to creat commitment for PO PR but not creat statistical cost for GR

    Hi, Quantities and Values in Valuated Project Stock: Example - Material - SAP Library Planning Material FIN-M is assigned to network activity V10 and is managed in the project stock for WBS element P/4711.1. The network type is flagged as appended an

  • VTFL transaction - multiple billing documents for same delivery

    Hi all,         Iam using the transaction VTFL for Order, Delivery and Billing. When the routines 03 and 04 are used, we need to ignore POD ( Proof Of Delivery ). So, for this,  I have used routines 09 and 10. POD issue is resolved. But another issue

  • Two spool getting generated for a single SAP script

    Hi ABAPers, I have a SAPscript development. This is a PO form for India. When I do a "Trial printout" in ME9K I see that two spools are generated. This is my first problem as till last week only one spool was getting generated. Only spool should be g

  • Can I rotate a video without having the black borders?

    Hi, I shot some movie on my camcorder. I had the camcorder at a right angle at the time. When I rotate it on imovie11 I am left with black borders either side. How can I remove these? I'd really appreciate some help asap with this as I am editing the

  • HT4137 how to backup my new Iphone from my old Iphone ?

    how to backup my new Iphone from my old Iphone ? Forexample, i just bought Iphone5 and I want to put all messages, which is in my old Iphone 4 to my new Iphone 5. please help cause need you helps.