xReader and memory issues
Well, I'm not aware if any of you know about xReader, but it is a really good multimedia hoembrew, specially for image viewing, it's really smooth and quick at loading, but there's a problem (always talking about image viewing):
There seems to be some memory leak that will eventually make the program run out of free memory (even though it free's it). After viewing lots of images (think of reading manga) i will eventually show the error "memory not eough" when it hits a double page (I guess it may happen with normal pages, but that'll take longer).
I modified the source and I've been monitoring the free memory while reading, and it really progressively goes down wihtout any aparent reason, from time to time I notice that the free memory available has shrunk.
The app has an image cache system, which I think is the culprit, but I still have to confirm if there's a memory loss with the cache disabled.
Restarting the application (without shutting down the psp, or within irShell) free's the memory and it all starts over again.
I've been unable to locate the failure in the source, so I'm asking for clues about what I should look for or a way to locate the problem.
Here's the latest source available: xreader - Project Hosting on Google Code
It doesn't seem to be the cache system after all, it has happened the same with it disabled.