This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
run out of memory while repeat save and load process
#2
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

Reply


Messages In This Thread
RE: run out of memory while repeat save and load process - by calais007 - 10-22-2011, 04:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)