android - Does Renderscript use memory of the heap, or like JNI? -
as title says.
suppose max heap size 50mb , yet device has 2gb of ram, renderscript able use 2gb or constrained 50mb ?
if constrained 50mb , possible use 2gb instead somehow?
if won't constrained 50mb , how use way?
and, "allocation" usage allocate more memory, or more of binding of data of bitmap used on renderscript ?
i'm asking because you'd want use lot of memory handle task, though input , output might small in memory usage.
in experiments, renderscript allocations on budget of java heap. not said explicitly in official documentation, can deduced words:
the android vm can carry out garbage collection share memory renderscript runtime layer
i not sure if applies static (compile-time) allocations well.
Comments
Post a Comment