|
-
AS3 memory usage difference online/offline
I'm working on a very simple flash game and having some performance issues. The game is running slow when I've uploaded it to my site but runs very good when playing offline, I was wondering how there can be such a difference. I've added a debug clip which shows the frame rate and memory used, this gives some unexpected results.
1) When playing my file offline, the memory usage is 10Mb.
2) When playing online at http://www.medalgames.com/square-spinner.html, the memory usage is 30Mb.
3) When playing online at http://www.medalgames.com/play/square-spinner/, the memory usage is 60Mb.
Is there any reason there could be such a difference in memory usage? 2) uses the embed code Flash CS6 gives me, 3) uses my own embed code, the same a lot of other sites will probably use.
I know this topic may need some code of my game, but it's quite a lot so I don't know if it will be of too much help. There's an option to turn off the effect I'm using (BlurFilter on BitmapData), turning it off doesn't seem to have too much effect.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|