[Papervision3D] Memory problems
Olivier Clément
multiple.paradox at gmail.com
Tue Oct 16 06:51:53 PDT 2007
How are you managing your tweens?
My take would be that if you create a new Tween everytime a slide
comes-in/out, you'll end up eating resources since the Tween is not
destroyed afterward. With this little info it's what appears to me as
the most probable. If that's the case, try reusing the same tween(s)
whenever possible, changing targets
My 2¢
On 07-10-16, at 07:16, Webdevotion wrote:
> Thanks for the swift response.
>
> No, none of the things you describe here, apply to my situation.
> I always use weak references in addEventListener, don't use
> collada, ...
>
>
> On 10/16/07, Trevor Burton <worldofpaper at googlemail.com> wrote:
> are you creating a lot of logging comments... i've noticed that the
> AS3 version of xray can be a bit of a memory vampire sometimes....
> other than that i can only recommend enforcing weak references in
> addEventListener calls.
>
> sorry if that's no help... there have been a few posts on similar
> topics - are you using imported models (ie the Collada or ASCollada
> objects) or primitives?
>
> T
>
>
> On 10/16/07, Webdevotion < webdevotion at gmail.com> wrote:
> Hey list,
>
> My first post here.
>
> I have created a little, simple effect with PV3D for a rather
> compact site.
> Slide tweens in with a little rotation on the x-axis and goes out with
> the opposite tween when the next page is selected.
>
> The problem is that each slide that gets added, stays in memory.
> I have spent numerous hours disposing the instances, removing
> listeners etc. but the memory loss is huge.
>
> After 10 transitions this simple effect becomes useless.
>
> Any tips / clues what I should be looking at here ?
>
> tnx,
> Bram
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
>
> --
> Trevor Burton
> http://www.paperworld3d.com
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071016/24941311/attachment-0001.html
More information about the Papervision3D
mailing list