I think it exist a memory leak issue in UmdIsoReader.java,
There are two containers that named
private HashMap<String, Iso9660File> fileCache = new HashMap<String, Iso9660File>();
and
private HashMap<String, Iso9660Directory> dirCache = new HashMap<String, Iso9660Directory>();
I have reviewed this file and I just see that jpcsp ONLY do add item into container but without remove the added item, in my debugging, every time JPCSP read a file from UMD (e.g, in Game NOW Loading), then memory usage space increased, Java GC never free a reference that still in container. Maybe JPCSP should remove the unused items from container to prevent memory leak.
Sorry for my bad English
There are two containers that named
private HashMap<String, Iso9660File> fileCache = new HashMap<String, Iso9660File>();
and
private HashMap<String, Iso9660Directory> dirCache = new HashMap<String, Iso9660Directory>();
I have reviewed this file and I just see that jpcsp ONLY do add item into container but without remove the added item, in my debugging, every time JPCSP read a file from UMD (e.g, in Game NOW Loading), then memory usage space increased, Java GC never free a reference that still in container. Maybe JPCSP should remove the unused items from container to prevent memory leak.
Sorry for my bad English