Hello everybody!

I'm having a problem regarding memory increase:
I have being adding and removing many object3D (primitives and collada)
in runtime. So far, everything works (and memory stay stable), but if
I try to apply a BitmapMaterial (to some material) to this new object and
later try to remove it, the mesh is removed, but
the bitmapData/bitmapMaterial
reference remain in memory.

I was able to see this happen performing a memory profile test with Flex
Builder.

Somebody has an idea about how to solve this kind of issue?

Maybe I'm making some huge mistake (I already tried to set
material.textureBitmap = null), but I was not successfully in my attempts.
So, if somebody know how to do this in a correctly way, share it!

Really thanks!

--
Graciously,
Filipe Silvestrim
AUGRS Manager
Flash Game Developer
Flash CS4 Professional Certified
Adobe Certified Instructor
Personal Blog - ["http://www.filipesilvestrim.com";]
Adobe User Group Rio Grande do Sul, Brazil - ["http://www.augrs.com";]

Reply via email to