I tried to debug it with the flex builder profiler, but i dont quite
undertstand the outputs there.
There aren't to many instance of my classes out there. Mostly one or
two more than visible. my guess is that the garbage collector didnt
collect them in time for the snapshot.
what worries me are more than 5000 instances of Function and nearly
the same number of Object. Is this normal? Together these two groups
need more than 60% of my memory.
If i read the profiler right, most of the objects are created in a
function where i create a tooltip.
I still hope someone has an idea.
Greetings,
Alexander
CODE:
var pt:Point = new Point(event.currentTarget.x, event.currentTarget.y);
pt = event.currentTarget.localToGlobal(pt);
var curX:Number = pt.x;
var curY:Number = pt.y + event.currentTarget.height;
tip = new SkillTooltip();
tip.Skill = mySkill;
if (curX + tip.width Application.application.width) {
curX = Application.application.width - tip.width;
}
tip.x = curX;
tip.y = curY;
var sm:ISystemManager = Application.application.systemManager;
sm.toolTipChildren.addChild(tip);
Alexander Baetz schrieb:
Hi,
i'm new to flex and have the following problem.
When i run my application firefox and IE require nearly 5mb per second
more memory and run on 100% cpu.
Are there common mistakes i could have made?
The only data i load are images with the help of the super image component.
(
http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/
)
i'm changing this images for mouseover effects and stuff but use allways
the same.
I hope anybody has an idea what could go wrong.
Greetings,
Alexander
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
* Your email settings:
Individual Email | Traditional
* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
* To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/