1

My Flex application has some memory problems which I'd like to find using the profiler. However, when I run the profiler from Flex Builder, nothing happens. The appication is run the regular way, but nothing is profiled. The Profiling perspective doesn't event open, and when I open the Profiling perspective, no memory usage is displayed.
Can anyone help me out here?

3
  • What version of Flex/Flex Builder are you using? Mar 1, 2010 at 13:39
  • Flex Builder version 3.0.1.205647 Flex Compiler version 10.0.12 Mar 1, 2010 at 14:03
  • Are you running The debug version Of your as well as the debugging version of Flash Player? Mar 10, 2010 at 18:32

1 Answer 1

1

Had the same problem and I found a solution on this blog -> http://wceii.blogspot.com/2009/12/flex-profiler-socket-timeout-error.html

Adding the line below to the mm.cfg file.

PreloadSwf?={my eclipse workspace}.metadata.plugins\com.adobe.flash.profiler\ProfilerAgent?.swf?host=localhost&port=9999

  • Windows; C:\Documents and Settings\username\mm.cfg
  • OSX; /Library/Application Support/Macromedia/mm.cfg
  • Linux; home/username/mm.cfg

cyrill

1
  • Oh, actually when I decided to read more thouroughly, the solution did work! However, I still can't profile cause now it throws a different Exception. Another problem to which I do not know the solution. Possibly you could help? stackoverflow.com/questions/2356228/… Mar 1, 2010 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.