Monitoring the memory usage on iOS using the Stats class

I was check memory usage on an application I'm developing for iOS using Stats class https://github.com/mrdoob/Hi-ReS-Stats ( http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c3-315cd077124319488fd-7fff.html#WS 948100b6829bd5a61637f0a412623fd0543-8000).

I added the class Stats to my project and redeployed and, Ouch, reported in Stats memory usage ramp upward (quite slowly) even when there is nothing going on in the application (just displaying a loaded bitmap).

To try to find the question, I created a project with a test class that extends Sprite with just this single call in the constructor: -.

addChild (New Stats());

I have deployed to the device to check that he didn't swallow all of memory.

But I was surprised to observe the use of the memory to crawl upward and upward (to 5) before kicking in some garbage and takes memory down. I left it running and then he slipped once again more than 7.5 this time before being deported back down to just below 3.

So 2 questions that I would be grateful any feedback/comments/thoughts on related: -.

1 is this normal (i.e. memory creeping up when there is nothing else than to the Stats in the project)?

2 - What is the best way to monitor the memory usage in an application? Good enough stats - is Stats itself causing the memory usage?

All the best guys!

See also thread (http://forums.adobe.com/message/4280020#4280020)

My conclusions are:-

-If you run an application and let idle, use memory slips gradually upward (probably in memory is used to perform the Calc/refresh the display, etc.)

-Periodic garbage collection occurs and memory is brought back down

-This cycle could be more than 5 min.

Work with your real application and memory will increase and be published much more quickly/regularly.

-It's probably worth making an initial check running on your desktop computer to smooth out all the initial problems

Tags: Adobe AIR

Similar Questions

  • creeping memory usage when you use NEITHER-9477

    Hi, I write output digital (4 outputs line, on request, 10 updates per second) in a loop using the DAQ assistant. When I use a NOR-9477 as the device output application use memory increases about 10 MB for 15 minutes and will eventually run out of memory.

    If I use a USB6009 as the output device, the memory usage is stable. Same code is used, the only difference is the physical channel.

    Any suggestions as to what might cause this behavior?

    Thanks for the tip Ravensfan.

    To distill the code down for the most part, one of the two VI is leaks memory - the NOR-9477 one. The other not...

    In any case, the solution to my problem is to convert the express VI DAQmx code.

  • The SQL Developer memory usage is very high + session monitor work not

    Hello
    I'm facing 2 problems with SQL developer tool.

    (1) high memory usage (about 160 MB).
    (2) when I click on tools-> monitor sessions, session related window opens upward.

    I use 1.5.4 version. Please let me know if there are fixes for these issues.


    Thanks

    Hello

    (1) not much help for you, but for me, 160 MB is not excessive use of memory for SQL Developer (mine is currently sitting at around 150 MB). And then, I have been using the tool for a while and have a lot of memory on my computer.
    (2) tools > Sessions of the monitor works fine for me (DB 10.2.0.3). Do you get an error message when it "does not open upward? Which version of DB are you using? If you go through the browser reports (see > reports if it is not already displayed) and select Data Dictionary reports > Database Administration > Sessions > Sessions, does it report?

    theFurryOne

  • withdraw the authorization allowing you to monitor the memory usage

    I now often have either force quit, restart and started having panic 'of the core"since I agree allow Firefox CPU usage monitor. I'm still on OS X 10.6.8 on my Mac. I got no problem with anything since installing this OS X.

    However, from time to time with the latest Firefox 7.0.1 installation I think the program or my computer 'blocks' and seems unresponsive. I left active Firefox and resident on my computer last night and once again, everything will be inadmissible. I opened the monitor activity and noticed that Firefox was consuming 283 MB of real memory (now 298,6 MB) and I have this one open another tab for the Seattle Times. I withdraw my permission to allow Firefox to watch my memory usage and need to know how to delete the cookie or what ever that governs)

    Go to Firefox > Preferences > advanced > general tab and uncheck the box "send performance data" more information here.

  • Is it possible to monitor the % memory used - watch memory leaks

    Is it possible to monitor the % memory used - look at leaks memory and want to warn % used is grewater to 90% on NON - enterprise Hyperic 3.2.1 as the CPU
    is done. Why don't Hyperic monitoring the use of the memory as a percentage of the total?

    hypermike,

    This will be in 4.0:
    http://JIRA.Hyperic.com/browse/HHQ-2157?page=com.atlassian.JIRA.plugin.System.issuetabpanels:all - tabpanel

    -jeremy

  • Monitor the memory usage

    We are testing EXSi 4 and p2v a virtual machine. Set us the vm to 2gig memory, but still seem to face the slowness and keyboard slows down etc. Have not been able to find a way monitor the memory because it shows the full 2gig, that I gave him. There is no balloning I see, so my question is how can you really know if you need to give it more memory or not, without going through certain types of plant monitoring?

    Any help will be useful,

    Thank you

    Rebecca

    I think we have some know how now.

    Thank you so much for all help.

    Killer

    Run you P2V for Windows? Is that what you did clean the devices already anyone after P2V? Installed VMTools? Also look at this http://communities.vmware.com/docs/DOC-5430

    StarWind Software R & D

    http://www.starwindsoftware.com

  • Best way to detect the memory usage etc. on a mobile device for debugging?

    Hello

    What is the best way, during development, to detect the use of memory and other while the application is running on the device?

    So you can test it and see if something is the cause in the wild. I do an iOS/Android device so I want to try on fast and slow both phones and I have a script which ' add on ' memory usage as long as the user continues. I would like for this monitor (app, or the debugger) to see what is happening.

    Any ideas?

    Thank you

    Hello!

    My debugger favorite, by far, is "Debbuger Monster".

    Easy to use and very powerful!

    Go > http://demonsterdebugger.com/

  • AVG warned me that the memory usage is very high and I have to restart.

    Worms using Win XP. 3 and your suggestion, I've updated Firefox to worms. 7.0.1 and I still get this message that firefox uses too much memory, 300 MB or more.

    Since I upgraded to 8.0, I started to receive the warning of the AVG. The matter of fact is that my FF has been the 7.0.1 high CPU consumption first, I was monitoring the use of memory and I don't see much of a difference in usage between my 7.0.1 and 8.0. That's why I ignore these warning because it is probably a new notification of AVG that was not available for FF 7.0.1. But each user is different and will have different results.

  • Determine the memory usage

    LabVIEW has the tools to write a small script just run in the background and look at some applications and process and report on their use of memory over time?

    I have it! Use "Process" rather than "Processor", "% time processor" and "chrome". Should work fine.

    The first example I linked to uses the processor category, which shows the use of the processor by the processor cores. The second example, I linked is great because it shows all the different categories/counters/instances in a simple user interface. Tinkering with that to get the desired exact instance names, etc.

    For you and those who find this thread in the future, here is all the information in one post.

    Monitor the total CPU usage or kernels.

    User interface to be able to browse through all the categories, counters, and Instances.

    Excerpt from the chrome CPU usage:

  • How to monitor the use of the PXI UC?

    Does anyone know a way to control CPU utlization on a controller with LabVIEW PXI programmatically? I know that NEITHER had a VI owner to monitor the use of memory called rtgetmemorysummary.vi to monitor the memory usage, and I want to do the same for the CPU usage.

    If you mean a targer RT, then you can use

    RT get CPU loads.vi

    See here

    Marco

  • ESXi 4.1 - Question about the memory usage

    Hi all

    I am currently in the process of migrating from ESX 3.5 and ESXi 4.1.0 everything by making the upgrade of my equipment (3 x HP DL380 G7, 24GO RAM, CPU Intel X 5660 2 each).

    The boxes are installed with ESXi 4.1.0 Build 384481 and hpq - esxi4.1uX - bundle-1. 0a, hardware monitoring is done using HP SIM (V6, Windows).

    What bothers me, however, is that the VSphere Client (4.1.0 Build 345043) reports steadlily increases the memory usage in the Summary tab. The increase varies according to the system, ranging from 98MB in 1848 MB in the last 3 days, continues to grow.

    During this time the performance tab reports consumed memory exceeds granted memory.

    Everyone saw this behavior, too? Is this normal or am I facing a memory leak here?

    Thanks in advance.

    Kind regards

    SilentGuy

    good no worries. Here's the jsutification who might come to our rescue.

    the reason to ask to the image is to understand tips on different time and or prabably model.

    officers of 3rd party as HP may be one of the reasons for these behaviours and this pumps memory when they perceive newspapers. I think it's side normal use would normally not go beyong 2000 MB for an esxi normal opertaing without no VM

    I suggest you to watch more than two days and see if it grows even more...

    hope this helps

  • Relationship between memory of comments and the host memory usage

    Hello

    I noticed today that the memory usage of my cluster rose close to 90% in all of the blades. I checked and found that a number of virtual machines is everyone using over 3 GB of memory host. When I went in the performance monitor for each of these virtual machines, they used only a maximum of 400 MB.

    How the memory usage of comments relate to the host memory usage, and how I can reduce the amount of memory used host so I do not have a performance hit through the cluster?

    Running ESX 3.0.2, VC 2.0.2 Dell Poweredge servers with 2 processors 1.86 GHz quad core and 24 GB of RAM.

    See you soon

    Graeme

    You can learn more about memory usage http://www.vmware.com/pdf/esx3_memory.pdf and resource management guide http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_resource_mgmt.pdf

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • How to monitor the CPU, memory and i/o on the system

    Hello..

    Some body help me?...

    1. how to manage the monitoring of the performance of the system and the database during execution of ODI?
    2. how to monitor the CPU, memory and i/o on the system?

    TQ
    balleur

    In an attempt to partially answer your questions:

    1. how to manage the monitoring of the performance of the system and the database during execution of ODI?

    Monitor the performance of the application from a commercial point of view. As transactions per minute, or response time or time elapsed for the key events of the company. Monitor the activity of the material such that the CPU usage is not necessarily linked to the performance of your application. Performance should be measured from top to bottom - business first, then the lower levels until you get finally to computer equipment. Only if you get a problem to the next level - response time is too large, for example - you can go through the lower levels to identify the cause and fix it.

    2. how to monitor the CPU, memory and i/o on the system?

    I personally use "sar" on UNIX-BASED or Linux, or rather "CFDCs" which is the system activity data collector. SADC will measure and collect data on activities on CPU, memory, disks, etc. and save them to a file in binary format. You can then extract these measures later for analysis using SAR (sar f sadc_file_name). The benefits of SADC are that it is light (these operating systems measure such things anyway, just CFDC records far), it records everything at once (with the exception of the network), it records the time stamp too for each measure, and you can analyze it later when you want to.

    There are commercial products out there too who do similar work, with additional features, such as the integration of Oracle and the relationship between several systems. TeamQuest is an example, but there are others also. (I do not work for TeamQuest, but I used their product in the past).

    John

  • How to check the memory usage of cash L2?

    How can I check if my processor uses cash L2 memory?
    How to activate it?
    How to know how much it is?
    My laptop is satellite MX30-113.

    Hello

    Unfortunately I can't tell you much, but I found an interesting tool for editing memory. He called the Elcor V3.3. If you wish, you can see all the features of the tool. Maybe it will give you more information on the memory usage.

  • QNetworkAccessManager limiting the memory usage when no head

    I have a long application works without head that downloads files from 6 MB upwards on a web server. Now using QNetworkAccessManager to view the file, I see the memory usage, pull up and soon to exceed the limit of 3 MB.

    The QNetworkAccessManager then suffers bad allocations and crashes.

    I was hoping would be sort of the QNetworkAccessManager chunk the data of the file on the disk and keep low memory footprint, but it seems he is trying to remove all of the file.

    All means to limit or control the behavior of the QNetworkAccessManager?

    See you soon

    Paul.

    Hello.

    We started an internal investigation to verify the QNetworkAccessManager implementation.  A suggestion to try next was to try using libcurl to perform the download of files.

Maybe you are looking for

  • does not open on the screen from the taskbar.

    I have windows 8. Firefox does not open on my screen. I click the icon in the taskbar, it works, but there is nothing on the screen. When I go on the task bar icon the thumbnail indicates above, then when you click on it, it disappears. You can close

  • app said eBay sing in your phone

    Hi, when I try to use eBay on my Apple Watch, says only singing on your phone... Please help.

  • Skype works is not on the desktop

    When I signed into Skype, the last 3 days I get a message saying that: "Skype is unavailable for the moment. Check back later to see your news and updates" The I tried Skype on my cell phone and it works, so I don't know why the desktop computer does

  • Cannot install Windows 7 on an all-in - One HP 1105

    I have this computer came with Windows 7 Starter factory installed. It is an all-in-one Professional PC 1105 with product code C6Y91LT #ABM. I try to install Windows 7 Professional on this topic and I'm having a hard time because Windows install keep

  • Windows time always changes

    Hello Lately, I have a problem with my vista sp2. The exact time is 29 March 2013 12:23 AM. Yet, if I stop vista for an hour or more, when I restart the PC time system strangely transformed in March 11, 12:00. I have reset on the exact time, but if I