Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8843617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:16:18+00:00 2026-06-14T11:16:18+00:00

My basic question: Can memory leaks go unreported by System.totalMemory? UPDATE : While the

  • 0

My basic question: Can memory leaks go unreported by System.totalMemory?


UPDATE: While the source of my performance issues was never fully verified it was likely something to do with GPU/CPU issues (as @divillysausages hypothesized) which I could not readily measure on the target system. In a bizarre and classic weird bug turn within the day of asking this question the problems seem to have been resolved. For the purposes of this Q&A I think it’s safe to say that System.totalMemory was being reported accurately.


Background: I’m developing 3 fullscreen Adobe Air 3 apps. These three apps and three VLC players are running constantly on a multi-screen Windows 7 machine. Each AIR app is full-screened on one of six 1080p screens. The AIR apps use Robotlegs 1.5.2 (with Lazy Mediation), AS3 Signals (with Relaxed Signals), and my own boilerplate shell that implements shared aspects: logger, loader, basic UI, scheduling service, configuration parser. I’ve been methodically stress testing the shell and it looks good. All three apps load data at regular intervals (let’s around 5 minutes) and update their views and automated stress tests show the loaders and parsers are memory safe even when being pummeled with updates. Very few objects get created after initialization, the apps more or less are just updating the same display objects continuously and the majority of the creation happens during startup.

Problem: After a few hours of running on the target system the render rate of the animation heavy modules suffers.

This problem is obviously layered, but I’m a little miffed as I’ve been profiling using Flash Builder Profilier and Mr Doobs Stats tool the memory usage seems to stabilize just fine during profiling (even if FB Profilier does some weird things with Strings: see my other question about Strings in FB Profilier). When the animation heavy app is started it reaches a level memory usage fairly quickly, and the animation performance is still good, then I check back a few hours later and the animations are choppy, irregular, and the apps UI is sluggish and unresponsive. The other two apps (which are running at low frame rates have no animation) seem pretty good and consume the same and more memory, respectively. Restarting the Animation App fixes the problem.

Even more context:

  • The animation heavy app modulates the stage.frameRate between 15 and 40 depending on it if it’s animating — initially I was thinking that a constant framerate would help but then I went to the trouble of making sure all the data-parsing happened before an animation was started to guard against race conditions where the animation wants to start in the middle of some kind of data processing deluge… I’m considering using a constant frame but it seems like a longshot

  • Using Greensock’s TweenMax for the animations and initially discovered a memory leak that I plugged up (a case of my own incorrect implementation) — presently the TimelineMax and TweenLite instances are the one thing that I continually create and destroy and they seem to GC just fine

  • Very little creating of new objects (basically value objects that have no event listeners and whose values are often overwritten) — no display objects are cyclically created/destroyed

  • Using Signals and Callbacks instead of Events as much as possible

  • Minimal amount of Timer instances (5-6) by sharing and reusing the Timer objects as much as possible and using them more for timing of seconds

  • Using renderMode “auto” Adobe AIR: Main Window Properties — not sure if I should change this for deploying to the Windows 7 Machine

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:16:21+00:00Added an answer on June 14, 2026 at 11:16 am

    Choppy animation sounds like it’s either the framerate, or the cpu/gpu is being blocked up so you’re rendering suffers – this can happen even when your memory is fine.

    Try running your app through monocle and you’ll be able to see graphics performance and what’s going on in the background: https://prerelease.adobe.com/callout/?callid=59A4F95D908A4D2FB9F302729FD0D87F

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is a pretty basic question but I can't seem to get it right.
This is a pretty basic question but I can't find a good answer for
This may be a basic question but how can I include a module with
Pretty basic question ... I can not find the compatibility table (was looking at
Basic question.. had to ask. Any help will be appreciated. Q: Why can't I
I have really basic question. How can I get form id by input element
This might be a basic question, but I can't seem to find an answer.
I have a basic question, in the Django template language how can you tell
This might be a very basic question but it confuses me. Can two different
This feels like a really basic question, but I can't figure it out anyway..

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.