Skip to main content
Inspiring
Mar 13, 2018 1:53 AM UTC
Question

Memory leaks tools.

Any suggestions for a tool to investigate memory leaks? If none available, is there some AS3 API that would list objects larger than certain size in memory? Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.

17 replies

IGZN
Inspiring
Mar 14, 2018 8:44 AM UTC

Here's a good read about Scout basics:

Getting started with Adobe Scout | Adobe Developer Connection

Note the links at the bottom.

This one is about profiling memory, it's in French, but Chrome's built-in translator does an okay job if you need it in English:

Profiling de la mémoire avec Adobe Scout | Adobe Developer Connection

FlashDevelop is also great as rewb0rn​ mentioned.

Translate
Inspiring
Mar 15, 2018 2:45 AM UTC

Thanks for the article and the translation advice My mistake was not selecting multiple frames. Still, I find Scout to be not very useful for memory leak detection. In fact, I have not been able to find one single step-by-step tutorial on that topic where it's shown how to detect a memory leak. Too bad they stopped working on Scout. Could have been a really cool tool.

Translate
Inspiring
Mar 15, 2018 8:12 AM UTC

if you can not search yourself for about 2 seconds on google and/or Adobe Developer Connection
terms like "Adobe Scout Tutorials", "Adobe Scout memory profiling", etc.
I'm not sure who will be able to do that for you

Scout is the most advanced profiler you will get for Flash and AIR
it's there, it's free, nothing is missing, you just have to learn it

Translate
Lars Laborious
Legend
Mar 13, 2018 7:55 AM UTC

If you're using Animate you can also mark "Generate size report" in Publish Settings. But as IGZN mentions Adobe Scout is great for profiling your code.

Translate
natural_criticB837
Legend
Mar 13, 2018 3:14 PM UTC

FDT and FlashDevelop both have a memory sampler that will help you identify memory leaks. I don't know about other IDEs but maybe there are also some alternatives in FlashBuilder or IntelliJ.

Translate
Inspiring
Mar 15, 2018 2:38 AM UTC

I was able to detect memory leaks with FlashDevelop SWF Profiler in other projects, but this one uses flash.data.SQLConnection and other DB-related packages. They seems to confuse FlashDevelop debugger, so it just hangs.

Translate
IGZN
Inspiring
Mar 13, 2018 7:14 AM UTC

You can try Adobe Scout for profiling, or profile within your own the code with Sampler package (AS3 API)

Translate
Inspiring
Mar 13, 2018 5:11 PM UTC

>> You can try Adobe Scout for profiling, or profile within your own the code with Sampler package (AS3 API)

I tried Scout and it seems to show only the total memory allocation, which doesn't help much. Perhaps I missed something. Can Scout actually show objects in memory?

Translate
kheftel
Inspiring
Mar 13, 2018 5:23 PM UTC

if you compile your swf with telemetry enabled (don't remember the exact name of the option atm, sorry), scout can show you every object allocation in your swf, from the time you press scout's record button on.

Translate