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
Emulator won't start...
#11
Update your graphics drivers, and tell use what game you're trying to play.
Reply
#12
I have the same problem~~
i managed go get a screen shot of the command screen
it says:
Running JPCSP 32bit...
Error occured during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine

can anybody help?
i have the laest java version 6 update 21 already~
THX
im running on
intel core 2 quad Q8400 2.66Ghz
2.5Gb RAM
ATI radeon 4850
BTW i found out that the commit log for version r1626 states that :
Changed default heap size (in Windows batch files) to 1024Mb

is this why i am getting "Could not reserve enough space for object heap" ??
Reply
#13
(10-11-2010, 11:06 AM)winter01942 Wrote: I have the same problem~~
i managed go get a screen shot of the command screen
it says:
Running JPCSP 32bit...
Error occured during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine

can anybody help?
i have the laest java version 6 update 21 already~
THX
im running on
intel core 2 quad Q8400 2.66Ghz
2.5Gb RAM
ATI radeon 4850
BTW i found out that the commit log for version r1626 states that :
Changed default heap size (in Windows batch files) to 1024Mb

is this why i am getting "Could not reserve enough space for object heap" ??

Hmm... Actually, it's not exactly that part that is the problem, but it seems that it's the other flag we removed.
In your batch file, you should find this: "-Xmx1024m". That setting sets the maximum heap size for Java. However, your system is not setting a proper minimum value. Try adding before that setting, in the batch file, the following: "-Xms128m".
The line should look like this: "-Xms128m -Xmx1024m".
Reply
#14
In fact, the -Xms is just the initial memory size to avoid future reallocations, it shouldn't change anything.
Reply
#15
(10-11-2010, 03:16 PM)Orphis Wrote: In fact, the -Xms is just the initial memory size to avoid future reallocations, it shouldn't change anything.

It shouldn't, but I think something's messed up in his/her's system.
Maybe try reinstalling Java? And make sure to not have any duplicated leftovers from previous Java versions.
Reply
#16
Erm ~~ can you tell me where to find the -Xms in the batch file??
managed to open my batch file~~
this is wat is in it~~
_______________________________________________________________________________________________
@echo off
set PATH=%PATH%;lib\;lib\windows-x86\
if "%programfiles(x86)%XXX"=="XXX" goto JAVA32
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles(x86)%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVA32
if not exist "%programfiles%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVAMISSING
echo The required version of Java has not been installed or isn't recognized.
echo Go to http://java.sun.com to install the 32bit Java JRE.
pause

:END
_____________________________________________________________________________

JAVA MISSING?? i have it already
Reply
#17
(10-12-2010, 07:43 AM)winter01942 Wrote: Erm ~~ can you tell me where to find the -Xms in the batch file??
managed to open my batch file~~
this is wat is in it~~
_______________________________________________________________________________________________
@echo off
set PATH=%PATH%;lib\;lib\windows-x86\
if "%programfiles(x86)%XXX"=="XXX" goto JAVA32
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles(x86)%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVA32
if not exist "%programfiles%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVAMISSING
echo The required version of Java has not been installed or isn't recognized.
echo Go to http://java.sun.com to install the 32bit Java JRE.
pause

:END
_____________________________________________________________________________

JAVA MISSING?? i have it already

JAVAMISSING is a jump target, called in here:

Code:
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVAMISSING

You have to add the -Xms here:

Code:
"%programfiles(x86)%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar

and here:

Code:
"%programfiles%\Java\jre6\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar

so it looks like this:

Code:
"%programfiles(x86)%\Java\jre6\bin\java" -Xms128m -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar

and this:

Code:
"%programfiles%\Java\jre6\bin\java" -Xms128m -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
Reply
#18
so it should be like this???

@echo off
set PATH=%PATH%;lib\;lib\windows-x86\
if "%programfiles(x86)%XXX"=="XXX" goto JAVA32
if not exist "%programfiles(x86)%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles(x86)%\Java\jre6\bin\java" -Xms128m -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVA32
if not exist "%programfiles%\Java\jre6\bin" goto JAVAMISSING
echo Running Jpcsp 32bit...
"%programfiles%\Java\jre6\bin\java" -Xms128m -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
goto END

:JAVAMISSING
echo The required version of Java has not been installed or isn't recognized.
echo Go to http://java.sun.com to install the 32bit Java JRE.
pause

:END
---------------------------------------------------------------------------

but i stil cant open it~~
Reply
#19
Is it still the "Could not reserve enough space for object heap" error? If yes, I have not the slightest idea what causes the trouble (like Hykem, Orphis)

Ideas:
- What OS do you have?
- 32bit/64bit
- What java, 32bit/64bit?
- How much memory is "available"?
- what revision do you use?
- Any other problems with your PC?
- Anti-Virus installed, which one?

I suggest you disable first the AV shield for testing reasons, also make sure you have 32-bit Java installed (even on 64-bit OS) and use the latest 32-bit revision
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
Reply
#20
im now using a Windows XP 32-bit Service Pack 3
memory means?? HDD?? page file usage??
no problems with my pc at all
I'm using avira antivirus (although some times it sux)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)