AS3 :: Osx - Profiling Memory In An Project
Oct 20, 2011
I have an AS3 project and while using Mr. Doob's profiler I see that memory usage keeps rising with every second. How can I find out where the leak is coming from? I'm looking for a solution that doesn't involve Flash Builder Professional.
View 2 Replies
Similar Posts:
Jun 23, 2010
have been making a digital portfolio that I plan on putting up as a website. Once before the project has gotten very large (at the time 500megs). Now this originally large project had gotten to the point where it was telling me there wasn't enough memory. What I did to fix this was copy and paste all the frames from each scene into several new projects and then piece those new projects together to remake my complete project.
I am now doing this again but at this point piecing back the last scene of mine is taking up too much memory. I have 4 gigs of memory on a 3.06 GHz intel core 2 duo imac. first off, should this be happening? Should 4 ghz be enough? second, it appears that flash projects tend to compile a lot of baggage; is this true? Thirdly, is there any way I can fix this without buying two more 4 gig memory cards?
View 1 Replies
Mar 31, 2011
i am working on this project wherein i instantiate an flvplayback at stage and let it play ,, after playing i instantiate 1-4 flvplaybacks on stage and the user kan nove choose a new film to watch .. but each time i instantiate the flvplayback(s) the project gets slower and slower .. the video gets bugggy and the sound is out of sync ..if anyone can see something wrong with the way i do it i would be ever so happy
[Code]...
View 1 Replies
Jan 12, 2011
I am working on a touch screen project right now. There is a chance that the touchscreen will never be turned off, so I have to be very aware of the memory issue with the pc. I don't want the memory to keep building up and eventually it just freezes up the pc. Basically, I have separated each section into a separate swf. The idea is to load only the swf that is needed in order to optimize memory usage. I tested the app on a pc, when looking at the "processes" in the window task manager, it seems the memory used will just keep increasing as I navigate through the application, it seems to me it just keeps piling up external swfs in the application, but sometimes the memory will just suddenly decrease. And when the touchscreen application is idle, the memory will drop too.
The following code is what I used to load and unload the external swf. Did I do it right? Is there anything that may have left unnoticed that is still staying in the memory? Is there any other way to optimize the memory usage too?
ActionScript Code:
var prevLevel:* = this.parent;
var currentPage:MovieClip;
var oldPage:MovieClip;
var bgID:String;
[Code] .....
View 0 Replies
Jun 5, 2011
I have a fairly simple app that is running slower than expected on an iPhone. Even without animations I takes too long to respond to user actions.
What tools do you recommend for funding performance bottlenecks in an iOS app written in Flash?
View 1 Replies
Feb 10, 2011
Now the size of my flex swf is 480KB and I'm trying to find a way to reduce its size,are there any tips to follow?
View 1 Replies
Mar 29, 2011
I have a flash application, that uses functionality in its surrounding html page. I want to do some profiling with the Flex Profiler (or some similar tool, if you know a better one).
But i cannot get it to work, if my flash app is run from within the html page. It only works, if i run the flash app alone, but that doesn't help me, because i need the full scenario.
View 1 Replies
Feb 8, 2010
I've noticed that, recently, builds in FlexBuilder have been taking much, much longer than they used to (30 or 40 seconds, as opposed to 3 or 4). What is the simplest way of profiling these builds to figure out what is taking so much time?
View 4 Replies
Jul 23, 2010
I am profiling some AS code by measuring wall clock time. In order to minimize the error I need to run the code for a long period of time. However, flash seems to protect itself from unresponsive scripts by throwing an exception after some period of unresponsiveness, namely: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
Is there any way to disable this protection, or at least extend the timeout period?
View 2 Replies
Apr 17, 2011
I'm working with Flashpunk to make games using Flex and FlashDevelop (highly recommended, amazing lib and IDE). Since performance varies so much from system to system, I want to find where slowdowns are occurring and only fix those bits. Flashdevelop has a built in tool called Profiler, but it only shows the number of objects and the memory they are using, not the execution time. Grant Skinner wrote a great tool called PerformanceTest, but it seems suited to writing very specific optimization comparisons, not automatically profiling your code.
What I'm trying to find is a tool that will automatically analyze the program while it's running and tell me which functions are taking the longest to execute. I've heard that CS5 has this built in, but I'm wondering if there are any alternatives.
View 3 Replies
Mar 3, 2011
I want to profile and unit test my application in Flash Builder 4 Standard. Adobe says I need to upgrade to the Premium version but I can't pay the money they want right now.Are there any alternatives for unit testing and profiling?
View 2 Replies
Jan 31, 2012
I have a bit trouble with LoaderMax memory occupy, i have a queue, and i am keep loading images depend on user's action. if they click load more and it keep load, but i would like to clean the memory which been occupied by the previous queue (i have remove all the children been added by the loading previously). is there a way i can do it? the behavior like this.
[Code]...
View 1 Replies
Jun 21, 2010
I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).
At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png
View 2 Replies
Sep 26, 2010
I have an FPS monitor running and notice that I am getting choppiness here and there, bringing my game from 40 to 27 fps and back and forth at certain stages. I have an idea of where it is happening, but do not know for sure. I looked up quite a few memory monitors but haven't found anything decent yet. Is there a memory monitor that allows you to see the memory leaked and find its location? If not, how about just he memory leaked?
View 4 Replies
Aug 2, 2007
I'm making an isometric game and I need to know which takes less memory for scrolling, making everything invisible that you can't see? Like if(!this.base.hitTest(worldHitter))this._visible = false; Or would it be better to remove the movieclips unseen and then reattach them when i should see them?
View 2 Replies
Jul 4, 2009
I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.
View 2 Replies
Jun 15, 2009
I am working on this one project that has a couple of movieclips (already placed on stage) which have a custom class set to export via the Library. Each of those custom classes loads an external SWF using URLRequest().
Is it possible (or, what is the best way) to preload the whole project first, including the external SWFs?
View 7 Replies
Aug 24, 2010
I wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of the application.
View 2 Replies
Dec 10, 2010
I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???
View 1 Replies
Jun 15, 2010
Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml Flex 4.0:
Installed Created a multi-modular webapp project using flexmojo:
mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=RELEASE
with following options
groupId=com.test
artifactId=test
version=1.0-snapshot
[code]....
Parent pom has swc, swf, war as modules.
Dependency is war->swf->swc.
With parent artifactId of swf, swc, war set to swf, swc, test respectively.On executing mvn on test folder(for that matter clean or anything) I get this following error.
G:Projects est>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/test/swc/1.0-snapshot/swc-1.0-snapshot.pom
[code]....
Looks like its trying to download the project from maven's central repository instead of building it.
View 2 Replies
Jan 28, 2010
I am developing a project in Flash Builder which will load a file built by Flash CS4. The code in Flash CS4 is below, it's a doc class. I am sure the dispatchEvent has been invoked[code]...
View 1 Replies
Oct 20, 2009
I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim?
View 6 Replies
Mar 27, 2011
If I create a new flex project with flashbuilder, these are the libraries that get included by default through the Flex SDK[code]...
View 1 Replies
Jun 18, 2011
I have a CodeIgniter project and I made a back-office in Flex. I was wondering how I can implement the Flex project in my CodeIgniter since I'm working with routing I can't route to any directory. So there isn't a way to display the back-office.
View 1 Replies
Apr 30, 2011
I have one Eclipse Workspace containing two projects. - The first is my actual library. - The second is example code for using the library.When I push this code to GitHub, I don't want two separate projects, I want the example code to go into an "example" folder of the second library.How and where would I do this? From Eclipse, GIT, or GitHub?Or is there a better way of including sample code in GitHub projects? (the example code doesn't actually need any version control)
View 1 Replies
Jun 5, 2011
I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
View 1 Replies
Jun 29, 2011
I have a flex mobile project and I want to convert it into web-based project. What is the best way to do it.
View 1 Replies
Nov 17, 2011
I have set up a Flash Project to publish two FLAs simultaneously.However, when I click on "Test Project" I get the following error message:Quote:Cannot open a protected movie.However, when I publish each of these FLAs independently, I do not get the error message and the file publishes and runs with no problem.
View 0 Replies
Apr 27, 2011
I'm starting to learn in flex and ruby on rails. I see some projects there is a flex folder under rails_project/app which contains controller, models, views. I think it's not mannually to add these folders to rails project.
View 2 Replies
Sep 16, 2011
I have 2 flex projects which were create in flash builder 4.5.....how can i call one project from second??? the best would execute to the same window.... I'm interesting about both possibility (in browser and air too).
View 1 Replies