Possible RenderScript bug on the NVIDIA Shield?

I’m developing a video processing app to run on my Shield tablet and I think I may have come across a RenderScript issue.

The problem seems to be related to output Allocations and a Surface.

For the sake of brevity, I have recorded the specifics of the problem on stackoverflow.com here:
http://stackoverflow.com/questions/29805168/memory-errors-using-allocations-and-renderscript/29821488?noredirect=1#comment47827676_29821488