11-21-2011 10:39 AM
Does anyone have a good way to profile a flash builder app for playbook with qnx. I need to profile an app really desperately but I can only do it on desktop and without any qnx support, this is completely useless to me, I would prefer to profile directly on the device but I can't find anything helpful.
11-21-2011 11:29 AM
11-21-2011 11:53 AM - edited 11-21-2011 11:53 AM
I know I have a memory leak somwhere in my code, I noticed memory usage going up while the app is idle. What I need to do profile the memory, to show me which variables or methods are chewing it up, I have over 15,000 lines of code so going through line by line to find where the leak is isn't practical.
11-21-2011 04:39 PM
thanks for finding that for me, the problem here is the application is already pretty much done in Flash Builder so there is no Fla to import. I also tried creating my own profile as thing for Air for desktop but it just crashes as soon as it gets to a qnx import.
11-22-2011 09:46 AM
There was a talk on DevCon about profiling air apps. If it does not use qnx API's you can profile on desktop.
If it does you can still profile but you have to use API's to dump the data.
11-22-2011 11:18 AM
I have commented out all qnx code and profiled it on desktop, I found that it uses twice the memory than it does on the device and it doesnt show the memory usage increase while idle like it does on the device. I also tested it on the device without qnx just in case but the numbers still crept up... no idea why, anyone have any clues?