0 Replies Latest reply on Oct 3, 2010 6:06 AM by RocketRonz

    System.totalMemory v profiler

    RocketRonz

      Hi there,

       

      I'm slightly confused by the System.totalMemory property in the Flex 3.5 API. When I output the value in my onEnterFrame function it's reporting around 13Mb. When I run the same SWF through the FB4 profiler, the memory usage is around 2Mb.

       

      I've read that System.totalMemory reports all memory used by all Flash content running on the system, I've run the SWF in the standalone player with no other Flash content or browsers running, the same results are reported. Seems to me that I can't trust the output from System.totalMemory at all, also seems odd that the freeMemory and privateMemory properties that were available in earlier versions of the Flex SDK have been removed.

       

      Any advice would be greatly appreciated, thanks in advance.

       

      Ronny.