Jump to content

Recommended Posts

Posted

Hi,

I have recently installed the attack of the b-team modpack on my laptop running windows 8 64 bits.

Noticing that I have crashes and difficulty running the modpack, I installed Java 64 bit, so I had more RAM allocation options in the launcher.

Now the problem is that even if I allocated 4G to AoTBT, every 10 seconds I have a lag spike, and I know it's because of the RAM because when I press F3, I see the 99% of the allocated RAM is being used, which is normal, because the RAM allocated is only around 400mb. Now this is very weird, since I have allocated 4G to the game... I cannot find a way to change the amount allocate, it won't let me change it :(

I have also messed with the Java Runtime Parameters, trying "-Xmx4G", to allocate 4G, but nothing works. I am absolutely certain I have installed the 64 bit version of Java...

 

What can I do? Why won't it let me change the allocated memory? I can also mention that I have Optifine installed, the Ultra C6 version.

 

Thank you for your help!

 

Posted

You have a weird bug I haven't been able to replicate or solve yet, a few people have had this before you.  Can you give us any information about your system?

Posted

Post your launcher log.

Maybe you have to environment variable for Java Options set, which is overriding what you set in the launcher.

  • 2 weeks later...
Posted

It took me 6 hours but I found the fix! 

 

What you need to do is go to control panel, then system and security, then system. 

 

On the left hand side is a list of stuff; click advanced system settings in the new window, click "Environment Variables" on the bottom right.

 

In the new window, find the variable "_JAVA_OPTIONS", select it and click edit then change the value to whatever amount of RAM you like. For example -Xmx4096M for 4GB, or -Xmx2048 for 2GB

 

Done.

Posted

Remove that value if it's in there, then the program can take care of it itself.  You don't want every calculator app or ad you encounter on the internet using 2GB of RAM each :D

  • 3 weeks later...
Posted

If you don't have the issue with Java_options being set to override your java max memory allocation, then you don't have the issue with Java_options being set to override your java max memory allocation.

 

If that's not clear enough yet, then simply understand that you do not have the same issue.

 

Please post your logs up on the tracker following the guidelines - links that will help with that can be found in my sig.

Posted

I am pretty sure I have this same issue, someone on another post said that if you couldn't find JAVA_OPTIONS there then you can find it in local. I don't know what local is or where it is. So can someone help with that?

Posted

You know how there's two sides of that window, a list at the top and a list at the bottom?  The one at the bottom is what they were calling "System" (it's the bit based in HKEY_CURRENT_MACHINE), the bit at the top is what they were calling "Local" (based on HKEY_CURRENT_USER instead).  If it's not on the page at all then that's actually good.

 

If you'd post logs on the tracker after following the tracker guidelines rather than pushing the point here which is at the >very least frowned upon then I'd actually be able to tell you for sure.

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