nasaonacid / abstractAardvark

0 stars 0 forks source link

Memory issue #46

Closed nasaonacid closed 9 years ago

nasaonacid commented 9 years ago

When the application redraws the stage it is not deallocating the previous stage from memory.

nasaonacid commented 9 years ago

Items were not deallocated correctly. Code has now been changed to allow for deallocation at each redraw. Although deallocation occurs, the memory demands will stay high until the browsers garbage collector kicks in. This has however taken memory usage down to stay steady around 100000K to 200000K where as previously it would continue to climb.

During debugging for this issue I have discovered that the hard and medium mode underperform on mobile devices due to the sheer amount of canvas objects and layers. New issue opened to cover this. #47