I am trying to make a 2d array consume 0 memory after I am done using it. I want to implement something likes this:-
int a[][] = new int[10][10] // alloting new memory say 400Mb
// do something
// Now I want to make it null
a => null // clearing the 400 Mb it took before
// do something