I have a set of images that stored in a 3D array of type Int16
, the number of images i cache can reach up to 600 images or more which affect the memory performance the garbage collection performance.
I heard about memory tiling that can enhance the memory management as it sets the sub-array elements in a separate chunk.
- can I use memory tiling in my case?
- if yes, how can I use it?
can i use memory tiling in my case?
Yes. A 3d array of int16 [,,] has to be ONE block of memory. Put that into slices and they are smaller already. ([][,]).
The rest depends on your exact needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With