boomAlex
10 years agoVisitor
Memory problems
I am having major memory problems using the roScreen.
My app requires me to have many images loaded from the web and the device that are used frequently. This means I have to load them in to memory as a roBitmap, which uses a lot of memory. When I am done with the bitmaps I set them to invalid so that I can free up memory. However it seems that this does not clear up the memory right away. Is there some way that I can call the garbage collector through code? What memory management tools are there other then r2d2_bitmaps and running the garbage collector from the debug console?
I have to get this figured out because i can't just have my app randomly crash because the Roku is out of memory.
My app requires me to have many images loaded from the web and the device that are used frequently. This means I have to load them in to memory as a roBitmap, which uses a lot of memory. When I am done with the bitmaps I set them to invalid so that I can free up memory. However it seems that this does not clear up the memory right away. Is there some way that I can call the garbage collector through code? What memory management tools are there other then r2d2_bitmaps and running the garbage collector from the debug console?
I have to get this figured out because i can't just have my app randomly crash because the Roku is out of memory.