Jump to content

Recommended Posts

Posted (edited)

Been at this for a couple of hours. Tried re-installing Java with no avail, Control Panel>Java seems to do nothing when I change it, and when I launch the regular Minecraft launcher trying to allocate more ram with the Xmx Xms arguments, I get this error: 

 

Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
 
Windows 7 OS, JRE 1.8.0_20 + 1.7.0_67, and yes, I already tried Googling it.
 
EDIT: Here's the pastebin, for any of you interested in it; http://pastebin.com/Dkspakhf 

And I did 'java -version' on cmd, and guess what: "Picked up _JAVA_OPTIONS: -Xmx512M" haunted me there too.
 
EDIT 2: Solved.
Edited by Kritten
Posted (edited)

You either:

Don't have enough RAM (its physical hardware) installed

and/or arn't using 64Bit java

 

Control Panel>System and Security>System; says 8GB installed

Problem still occured after re-installed java, as stated above, ensuring I installed Java 64-bit. 

Problem also persisted before I re-installed java.

Edited by Kritten
Posted

Post a launcher log. It'll provide much more insight than you may think ;)

 

Getting Launcher Logs
* Run Technic Launcher
* Click on the Cog icon located on the top right of the launcher
* Click on the "Logs" button
* Provide relevant log files

-----------------------------------------------------------------------------------------

Pasting Logs
Use one of the following methods to show us your log files:
* Attach file to posting
* Use http://pastebin.com and paste the resulting URL in your post
* Use http://paste.ubuntu.com and paste the resulting URL in your post

For overly sized files, attaching or using the above URLs may not work, you can use one of the following for these types of cases
* http://mediafire.com
* http://dropbox.com

Posted (edited)

May not be public to view, but still downloadable :P

 

One execution of it ran Java 7u21 - which is outdated - suffered from the mentioned _JAVA_OPTIONS issue

[B#439] 2014/09/05 19:27:59 [INFO]  2014-09-05 19:27:59 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_21, running on Windows 7:amd64:6.1, installed at C:Program FilesJavajre7

Another one ran Java 8u20, which has a known issue with it and is what you're hitting with Java 8u20.

 

The issue, related to _JAVA_OPTIONS, thats overwriting the ram assigned via launcher - which btw is recognizing that you have that amount of RAM. And to fix this:

 

Click start

Enter "environment"

Click "edit environment variables for your account"

Remove "_JAVA_OPTIONS" from top and bottom lists. A reboot may be necessary.

Initial heap size set to a larger value than the maximum heap size

That, as you mentioned in your first post is a direct result of the -Xmx512M issue btw. -Xms being greater than -Xmx causes this error to be thrown, because you cannot start with 2G of ram but limit max RAM to 1G, for example (and hopefully obviously apparent)

 

Edit: Typos...

Edited by Kalbintion
Posted

Wow, thanks, that fixed it.

 

If I could give rep on forums, I would give a ton right about now. c:

Posted (edited)

"Liking" a post is essentially the sites rep system. The more posts that are liked of a certain person, the higher their rating is on their profile (top right is where you can see this number on their profile) - not sure 100% on the intricacies of how the liked posts influence the number, if its 1 to 1, but yeah. Liking posts is their rep system more or less.

 

Edit: Typo

Edited by Kalbintion

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...