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:
  • 16 Vote(s) - 3.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kingdom Hearts: Birth by Sleep - US - ULUS10505
(06-02-2011, 11:50 AM)gid15 Wrote: From the documentation I found (http://java.dzone.com/articles/java-perf...g?page=0,1), the code cache is not stored into the permanent generation space: the PERM space is managed by the GC and contains mainly the java classes. Because Jpcsp is generating a lot of Java classes generated on the fly (compiler), the PERM space has to be large enough the contains all the java classes. But this does not include the JIT code cache.
The memory reserved by direct buffers (nio) is also not included into the PERM space, it has again its own space (native heap: -XX:MaxDirectMemorySize=xxxM). Jpcsp is also using a lot of direct buffers for the vertex cache.

Jpcsp cannot be directly compared to classic Java applications as it is heavily using dynamically generated classes and direct buffers.

Code:
-XX:MaxPermSize=64m -XX:ReservedCodeCacheSize=64m
still makes sense to me. However, MaxPermSize could be increased to hold more Java classes (depending on the game).
See there are simply too many parameters concerning different kinds of memory usage and that's why I get confused myself too often.
What he told me sounded logical to me, that's all.

All I can say with 100% certainty is that "Lord of Arcana" and "Syphon Filter - Logan's Shadow" require more than MaxPermSize=64m.
As it seems, Kingdom Hearts is the 3rd which requires more.
Whereas in " Logan's Shadow" you will run into the MaxPermSize error very early at the beginning, "Lord of Arcana" requires you to play it for a while until this error occurs. But this I know for sure. Hope this helps at least a little bit.
Reply


Messages In This Thread
RE: Kingdom Hearts: Birth by Sleep - US - ULUS10505 [encrypted] - by BinarySlave - 06-02-2011, 03:57 PM
Kingdom Hearts: Birth By Sleep - by Elliott - 08-16-2012, 10:41 AM

Forum Jump:


Users browsing this thread: 42 Guest(s)