The Observer Effect with the Miner?

35 views
Skip to first unread message

hp

unread,
Oct 17, 2012, 2:39:58 PM10/17/12
to soci...@googlegroups.com
Hi,

I have a simple image loader running on 500 ms loop. Load png, display, remove from display, dispose bitmapdata, call unload. Create new imageloader and so on.

I run the swf in Flash Debug Player 11.2.202.228.

If I use SWFProfiler to watch the memory then i get a perfect saw-tooth memory graph. The memory goes between around 17Mb and 40Mb maximum for as long as I run the swf.

If I activate The Miner (1.3.10), then the memory grows from 40Mb steadily upwards past 100Mb up to 200Mb and beyond. Even when i see bitmaps being cleared the memory usage never drops.

Is The Miner creating it's own memory leak?

hp

unread,
Oct 17, 2012, 2:51:25 PM10/17/12
to soci...@googlegroups.com
files:


TheMiner.png
SWFProfiler.png

Jean-Philippe Auclair

unread,
Oct 17, 2012, 4:35:14 PM10/17/12
to soci...@googlegroups.com
Please try the latest version (www.sociodox.com/theminer)

Yes, TheMiner is allocating memory inside the same heap.

But no, there should be no leak.

If the "numbers" of current items keep going up, it might be because of a Flash player reported bug. We are all awaiting Adobe for this fix.

Thanks!


2012/10/17 hp <h.p.lo...@gmail.com>
files:



hp

unread,
Oct 18, 2012, 7:36:20 AM10/18/12
to soci...@googlegroups.com
Hi JP,
I have  tried the new version, thank-you.
The memory still goes up. 
Is there any version of Flash Player Debugger that shows the correct number of items when used with The Miner?

I like The Miner, but at the moment I can't see how i can use it because the item count nay not be accurate and because i still need to run another add-on to get an accurate idea of the memory usage.

Jean-Philippe Auclair

unread,
Oct 18, 2012, 9:23:46 AM10/18/12
to soci...@googlegroups.com
The memory problem come from flash. if you can't track it in the miner you won't track it anywhere else.(includng FlashBuilder)
It is sad that Adobe as decided not to fix the API, but we (the flash user community) have all the same problem.(https://bugbase.adobe.com/index.cfm?event=bug&id=2960500)

Still, you can track allocation rate better than in any other tools.(http://www.sociodox.com/theminer/tutorial/tutorial_feature_memory_profiler.html)

Unfortunatly for the "total memory used", yes TheMiner is not the ideal tools as it's doing a lot more that just showing a little infobox (like hiResStats which is great for)


2012/10/18 hp <h.p.lo...@gmail.com>
Reply all
Reply to author
Forward
0 new messages