Flex Memory Usage

I was trying to modify this stock ticker example to work with Flex 3 when I came upon a surprising conclusion.

“With great power comes great responsibility.”

B0002XK190 Spider-Man / Spider-Man 2

Yes, I’m 100% convinced that Flex is the way to go if you want rich interactive user interfaces.

But that does not come without a cost. I think I accidentally turned the method invocation rate too high using the setInterval() function.

The result, a whopping 1GB memory consumption for firefox. It brought most of my running applications to a crawl.

Is there a way to prevent such conditions? Like running Flex in a sandbox model?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: