# Papervision3d remove child memory leak

**URL:** <https://forum.kirupa.com/t/papervision3d-remove-child-memory-leak/296541>\
**Category:** flash\
**Created:** [September 16, 2009, 9:13am UTC](https://forum.kirupa.com/t/papervision3d-remove-child-memory-leak/296541 "2009-09-16T09:13:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Velaniah](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@Velaniah](https://forum.kirupa.com/u/Velaniah)\
**Post date:** [September 16, 2009, 9:13am UTC](https://forum.kirupa.com/t/papervision3d-remove-child-memory-leak/296541/1 "2009-09-16T09:13:20Z")

</div>

I have a memory leak problem in papervision - I have a bunch of DAE models loading in Papervision. When I add them I can see the total memory usage for flash (in task manager) go up.

If I then remove models from the scene using

```auto
scene.removeChild(model);
model = null;

```

the memory usage doesn’t go down. I don’t have any references to the model except for the scene.

Does anyone have a working example of loading / unloading models in papervision, where the memory used actually goes down?
