At the moment once I am finished with an object, I simply hide it; "objectName.visibility = False". However, this allows too many objects to build up, and never get deleted. This means, after using my app for a while, it crashes with an error saying it's out of memory: "java.lang.OutOfMemoryError: Java heap space."
Instead of changing the visibility property, I'd like to use a ".uninitialize()" method if there was one or something similar. Will ".removeView()" do the trick, or am I really missing something?
Thanks
Sam
Instead of changing the visibility property, I'd like to use a ".uninitialize()" method if there was one or something similar. Will ".removeView()" do the trick, or am I really missing something?
Thanks
Sam