image processing memory problem
now i 'm creating image manupulating program and facing memory issue. this is one of the command in my program:
WritableRaster parent = dst.getWritableTile(tx, ty);
where dst is tiledimage class object, and i loop this command so the memory usage is acumulately consumed. i need to free the parent object. but there is no associate dispose() method, and i run System.gc() and that's no help.
so now the point is , how do i free the memory of the parent object consumed?