We have legacy code using the java advanced imaging api (Yes, I know it\'s not very advanced now). It has a problem loading some images resulting in an out of memory error a