I've been having problems with memory management while using RenderScript, so I figured that since Allocation.createFromBitmap()/createTyped()
consumes memory, Allocation.destroy()
frees the memory consumed by it.
Is it good practice to do so, and what else is good practice for RenderScript-based programs?