Jump to content

Recommended Posts

Posted

Hi, 

This week, my and a friend began to play minecraft with some mods (in 1.12.2) on a forge server (which is located on my pc). Then, two days ago we decided to add more mods, and the server console said it needed more ram. So i tried to put 4G. But he said "invalid initial heap size  :  -Xmx4G". With some research i found out i used a old version of java. I changed it and it worked. The server work, but every entity is laggy as hell. They teleport. We thought it was a new mod, so we tested every one of them but it's stay laggy (only for mobs, we can destroy and construct without issues). So i tried to only launch the server with the old mods (the one who were working) and the problem is still here. I have tried every thing i found on internet. (3 version of java as 8u241 and 8u25), tested every mod... Please, you're my last hope. If someone can help me. Thx.

(I'm not english so i'm sorry if there is grammaticals errors)

Posted

The problem is about the lag but this is the log of the first problem if it can help :

 

Picked up _JAVA_OPTIONS: -Xmx512M

Error occurred during initialization of VM

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

Press any key to continue . . .

Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.