The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.29 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



EmuNewz Network
Emulator won't start... - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Emulator won't start... (/showthread.php?tid=2177)

Pages: 1 2 3


RE: Emulator won't start... - Orphis - 10-10-2010

Update your graphics drivers, and tell use what game you're trying to play.


RE: Emulator won't start... - winter01942 - 10-11-2010

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" ??


RE: Emulator won't start... - Hykem - 10-11-2010

(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".


RE: Emulator won't start... - Orphis - 10-11-2010

In fact, the -Xms is just the initial memory size to avoid future reallocations, it shouldn't change anything.


RE: Emulator won't start... - Hykem - 10-11-2010

(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.


RE: Emulator won't start... - winter01942 - 10-12-2010

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


RE: Emulator won't start... - Darth1701 - 10-12-2010

(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



RE: Emulator won't start... - winter01942 - 10-12-2010

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~~


RE: Emulator won't start... - Darth1701 - 10-12-2010

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


RE: Emulator won't start... - winter01942 - 10-12-2010

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)