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
Java privilege problems, can't use large page memory...
#1
Exclamation 
I get this when I try to start it:

"Java Hotspot™ Client VM warning: JVM cannot use large page memory because it does not have enough privilege to lock pages in memory.
Error occured during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine
Error: A fatal exception has occured. Program will exit."

Should I have the JVM specifically run as admin or Java in general?

These are my specs:

OS: Windows 7 Ultimate (64-bit) SP 1
CPU: Inte Core i7 2600k @ 3.4Ghz.
RAM: 8GB DDR3 PC-12800 @ 1600MHz (Dual-Channel)
GPU: 1gb Sparkle GeForce GTX 560 Ti (SLI)

I set up the JPCSP settings according to this thread.

Help is very much appreciated.

EDIT: Aaand starting it with the batch file and trying to load FFIV CC got me this:

Running Jpcsp 32bit...
Exception in thread "GUI" java.lang.OutOfMemoryError: Java heap space
at jpcsp.MainGUI.loadFile(MainGUI.java:1457)
at jpcsp.MainGUI.OpenFileActionPerformed(MainGUI.java:1410)
at jpcsp.MainGUI.access$500(MainGUI.java:111)
at jpcsp.MainGUI$6.actionPerformed(MainGUI.java:413)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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$200(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 Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
Reply
#2
If you want to use large memory,you should use 64 bit Jpcsp.
Reply
#3
(03-19-2013, 02:25 AM)shenweip Wrote: If you want to use large memory,you should use 64 bit Jpcsp.

I read that you can't use SonicStage or MediaEngine with the 64-bit version. Or something like that.
Reply
#4
Help? I think I managed to allow Java to lock pages in memory but I still get a bunch of errors.

Here are my JPCSP settings:

Settings for FFIV CC:
[Image: jpcspsettings.png]

[Image: jpcspsettingpage1.png]

[Image: jpcspadvancedjava.png]

[Image: jpcspgarbagecollector.png]

Trying to start it after that got me this error:

"Running Jpcsp 32bit...
Java HotSpot™ Client VM warning: Individually allocated large pages
failed, use -XX:-UseLargePagesIndividualAllocation to turn off
Java HotSpot™ Client VM warning: Individually allocated large pages failed, use -XX:-UseLargePagesIndividualAllocation to turn off
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit."

Does the 64-bit version work properly now?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)