added System.gc() before loading images