Hello everyone.
It's my first post here.
I wanted to tell you something I encountered from playing TLOH on jpcsp.
First:
The latest few revisions (about 11) the emulator has a huge memory leak in the read file async function
which is used for reading data from the umd iso which causes the system to run out of memory in about 40 minutes after starting it.
Then the emulator crashes with exception like this:
Code:
Running Jpcsp 32bit...
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
Error calling :: hleModule='jpcsp.HLE.modules.IoFileMgrForUser@1d7fadd':: hleMod
uleClass='class jpcsp.HLE.modules.IoFileMgrForUser':: hleModuleMethodName='sceIo
ReadAsync':: hleModuleMethod='public void jpcsp.HLE.modules150.IoFileMgrForUser.
sceIoReadAsync(jpcsp.Processor)'
OnMethod: public void jpcsp.HLE.modules150.IoFileMgrForUser.sceIoReadAsync(jpcsp
.Processor)
java.lang.OutOfMemoryError
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at jpcsp.filesystems.umdiso.UmdIsoReader.readSectors(UmdIsoReader.java:1
57)
at jpcsp.filesystems.umdiso.UmdIsoFile.read(UmdIsoFile.java:301)
at java.io.InputStream.read(Unknown Source)
at jpcsp.filesystems.umdiso.UmdIsoFile.readFully(UmdIsoFile.java:236)
at jpcsp.util.Utilities.readFully(Utilities.java:321)
at jpcsp.HLE.modules150.IoFileMgrForUser.hleIoRead(IoFileMgrForUser.java
:1507)
at jpcsp.HLE.modules150.IoFileMgrForUser.sceIoReadAsync(IoFileMgrForUser
.java:2322)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jpcsp.HLE.modules.HLEModuleFunctionReflection.executeInner(HLEModuleF
unctionReflection.java:377)
at jpcsp.HLE.modules.HLEModuleFunctionReflection.execute(HLEModuleFuncti
onReflection.java:345)
at jpcsp.HLE.modules.HLEModuleManager.handleSyscall(HLEModuleManager.jav
a:390)
at jpcsp.HLE.SyscallHandler.syscall(SyscallHandler.java:111)
at jpcsp.Allegrex.compiler.RuntimeContext.syscall(RuntimeContext.java:67
3)
at _S1_3_89CC460.s(_S1_3_89CC460.java:4)
at _S1_3_8969BCC.s8967e14(_S1_3_8969BCC.java:940)
at _S1_3_8969BCC.s(_S1_3_8969BCC.java:932)
at _S1_3_887750C.s(_S1_3_887750C.java:340)
at _S1_3_887750C.exec(_S1_3_887750C.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:1
19)
at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:198)
at _S1_3_89718B4.s(_S1_3_89718B4.java:252)
at _S1_3_89718B4.exec(_S1_3_89718B4.java)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:
704)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:51)
java.lang.OutOfMemoryError
Error calling :: hleModule='jpcsp.HLE.modules.IoFileMgrForUser@1d7fadd':: hleMod
uleClass='class jpcsp.HLE.modules.IoFileMgrForUser':: hleModuleMethodName='sceIo
ReadAsync':: hleModuleMethod='public void jpcsp.HLE.modules150.IoFileMgrForUser.
sceIoReadAsync(jpcsp.Processor)'
OnMethod: public void jpcsp.HLE.modules150.IoFileMgrForUser.sceIoReadAsync(jpcsp
.Processor)
java.lang.OutOfMemoryError
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at jpcsp.filesystems.umdiso.UmdIsoReader.readSectors(UmdIsoReader.java:1
57)
at jpcsp.filesystems.umdiso.UmdIsoFile.read(UmdIsoFile.java:301)
at java.io.InputStream.read(Unknown Source)
at jpcsp.filesystems.umdiso.UmdIsoFile.readFully(UmdIsoFile.java:236)
at jpcsp.util.Utilities.readFully(Utilities.java:321)
at jpcsp.HLE.modules150.IoFileMgrForUser.hleIoRead(IoFileMgrForUser.java
:1507)
at jpcsp.HLE.modules150.IoFileMgrForUser.sceIoReadAsync(IoFileMgrForUser
.java:2322)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jpcsp.HLE.modules.HLEModuleFunctionReflection.executeInner(HLEModuleF
unctionReflection.java:377)
at jpcsp.HLE.modules.HLEModuleFunctionReflection.execute(HLEModuleFuncti
onReflection.java:345)
at jpcsp.HLE.modules.HLEModuleManager.handleSyscall(HLEModuleManager.jav
a:390)
at jpcsp.HLE.SyscallHandler.syscall(SyscallHandler.java:111)
at jpcsp.Allegrex.compiler.RuntimeContext.syscall(RuntimeContext.java:67
3)
at _S1_3_89CC460.s(_S1_3_89CC460.java:4)
at _S1_3_8969BCC.s8967e14(_S1_3_8969BCC.java:940)
at _S1_3_8969BCC.s(_S1_3_8969BCC.java:932)
at _S1_3_8972320.s(_S1_3_8972320.java:196)
at _S1_3_8848E3C.s(_S1_3_8848E3C.java:48)
at _S1_3_8848E3C.exec(_S1_3_8848E3C.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:1
19)
at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:198)
at _S1_3_89718B4.s(_S1_3_89718B4.java:252)
at _S1_3_89718B4.exec(_S1_3_89718B4.java)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:
704)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:51)
The second one is that the hame goes into infinite loop when Joshua plays the "Whereabouts of the light" at Valleria shore.
I checked it in some old revisions and there was no problem with the scene. (unfortunately I cannot pinpoint the revision that causes this problem, but
it works fine on r2071)
The third one is that I don't seem to get the sound decoded by SonicStage in the entire game. though I don't know why cause all the settings shoul be correct.
Hope it helped you a bit.