# Garbage collection, Memory usage issue

**URL:** <https://forum.kirupa.com/t/garbage-collection-memory-usage-issue/326500>\
**Category:** flash\
**Created:** [December 19, 2011, 12:50pm UTC](https://forum.kirupa.com/t/garbage-collection-memory-usage-issue/326500 "2011-12-19T12:50:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2011, 12:50pm UTC](https://forum.kirupa.com/t/garbage-collection-memory-usage-issue/326500/1 "2011-12-19T12:50:10Z")

</div>

Ello ello…after hours of confusion I am having trouble with garbage collecton, I hit 1gig easy. I don’t have the code on this machine so basically its a gallery database that the user changes and views images enters details for each item etc etc (100’s of images and mc’s withing mc’s within mc’s)

Even unloading/removing all events/listeners the memory still creeps high although I have found when I load a single image (jpeg) then unload it the memory drops from 1 gig to 100mb again. So Is this unloading of an image triggering garbage collection to run? It seems so but not 100% sure.

\<question\>  
Is it possible to kick start GC or am I already doing that via unloading one image to trigger it. Or can anyone try kickstarting GC by doing as I have to confirm.  
\</question\>

Thanks for reading  
Mojo
