[Papervision3D] Deleting a bitmap material from memory
Florian F.
pezf68 at gmail.com
Mon Apr 30 11:51:08 EDT 2007
I've tried both methods but instances still stay in memory according to the
GCTester class :/
//BitmapFileMaterial.as
static public function deleteBitmap():void
{
_loadedBitmaps[LAST_BITMAP_URL] = null;
_subscribedMaterials[LAST_BITMAP_URL] = null;
}
I havent really had much time to think more about it as i'm kinda busy
> at the moment.
> In the mean time, the GCTester class here:
> http://www.danielhai.com/blog/?p=49 is quite useful for determining when
> things get garbage collected. Try using it on a few objects to see
> if/when they are getting dereferenced....
>
> Simon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070430/c5ca8194/attachment-0001.htm
More information about the Papervision3D
mailing list