12-23-2017, 08:45 PM
(This post was last modified: 12-23-2017, 10:00 PM by DragonNeos.)
Since it is a very rare error, when I do encounter the issue, I just close and restart the emulator. After restarting the emulator, there aren't any issues when I select a game or application.
Although the option "Unpack PBP on load" now works with encrypted EBOOT.PBP files, it should probably be listed somewhere on the README.txt that the -Xmx Size should be increased to a greater capacity (depending on the size of the EBOOT) when using this option or else the following occurs:
For example, I had to raise the -Xmx Size to 2560 MB in order for the emulator to dump the contents of Final Fantasy Type-0 Trial [Zeroshiki] into the unpacked-pbp directory.
A similar error may appear when selecting an encrypted EBOOT.PBP from the UMD Browser:
The first error seems to occur when the -Xmx Size is never touched (UMD Browser displays a white screen and is frozen). The second error seems to occur after the -Xmx Size has changed to a lower value (I lowered the value from 2560 MB back to 1024 MB). Both cases require using the Task Manager to close the emulator.
Although the option "Unpack PBP on load" now works with encrypted EBOOT.PBP files, it should probably be listed somewhere on the README.txt that the -Xmx Size should be increased to a greater capacity (depending on the size of the EBOOT) when using this option or else the following occurs:
Code:
Exception in thread "Umd Browser - Umd Info Loader" java.lang.OutOfMemoryError: Java heap space
at jpcsp.util.Utilities.readAsByteBuffer(Utilities.java:1901)
at jpcsp.filesystems.umdiso.UmdIsoReader.init(UmdIsoReader.java:79)
at jpcsp.filesystems.umdiso.UmdIsoReader.<init>(UmdIsoReader.java:56)
at jpcsp.GUI.UmdBrowser.loadUmdInfo(UmdBrowser.java:453)
at jpcsp.GUI.UmdBrowser.access$800(UmdBrowser.java:65)
at jpcsp.GUI.UmdBrowser$UmdInfoLoader.run(UmdBrowser.java:802)
For example, I had to raise the -Xmx Size to 2560 MB in order for the emulator to dump the contents of Final Fantasy Type-0 Trial [Zeroshiki] into the unpacked-pbp directory.
A similar error may appear when selecting an encrypted EBOOT.PBP from the UMD Browser:
Code:
Exception in thread "GUI" java.lang.OutOfMemoryError: Java heap space
at jpcsp.util.Utilities.readAsByteBuffer(Utilities.java:1901)
at jpcsp.filesystems.umdiso.UmdIsoReader.init(UmdIsoReader.java:79)
at jpcsp.filesystems.umdiso.UmdIsoReader.<init>(UmdIsoReader.java:56)
at jpcsp.GUI.UmdBrowser.onSelectionChanged(UmdBrowser.java:524)
at jpcsp.GUI.UmdBrowser.access$1600(UmdBrowser.java:65)
at jpcsp.GUI.UmdBrowser$3.valueChanged(UmdBrowser.java:340)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
at javax.swing.JTable.changeSelectionModel(Unknown Source)
at javax.swing.JTable.changeSelection(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
Exception in thread "GUI" java.lang.OutOfMemoryError: Java heap space
at jpcsp.util.Utilities.readAsByteBuffer(Utilities.java:1901)
at jpcsp.filesystems.umdiso.UmdIsoReader.init(UmdIsoReader.java:79)
at jpcsp.filesystems.umdiso.UmdIsoReader.<init>(UmdIsoReader.java:56)
at jpcsp.GUI.UmdBrowser.onSelectionChanged(UmdBrowser.java:524)
at jpcsp.GUI.UmdBrowser.access$1600(UmdBrowser.java:65)
at jpcsp.GUI.UmdBrowser$3.valueChanged(UmdBrowser.java:340)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$300(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
The first error seems to occur when the -Xmx Size is never touched (UMD Browser displays a white screen and is frozen). The second error seems to occur after the -Xmx Size has changed to a lower value (I lowered the value from 2560 MB back to 1024 MB). Both cases require using the Task Manager to close the emulator.