Jump to content

Recommended Posts

Posted

Hello!

 

I'm newbie at minecraft servering :C

Installed Forge:

forge-1.12.2-14.23.4.2705-installer.jar (Also tried the newest, forge-1.12.2-14.23.5.2769-installer.jar)

Moved to "mods" folder:

spongeforge-1.12.2-2705-7.1.0-BETA-3361.jar (Also tried spongeforge-1.12.2-2705-7.1.0-BETA-3477.jar).

 

In any case, when i try to start server with spongeforge file - I get that Errors:

  Reveal hidden contents

Can somebody help me? 

Big Thanks for replies!

Posted
  Quote

Caused by: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        at java.util.jar.Attributes.<init>(Attributes.java:84) ~[?:1.8.0_181]
        at java.util.jar.Attributes.clone(Attributes.java:291) ~[?:1.8.0_181]
        at sun.net.www.protocol.jar.URLJarFile.getManifest(URLJarFile.java:155) ~[?:1.8.0_181]
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:147) ~[launchwrapper-1.12.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181]
        ... 22 more

Expand  

What command are you using to start the server? Does it have flags that set the JVM's memory allocation?

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

 

Posted
  On 10/8/2018 at 6:54 PM, DaemonUmbra said:

What command are you using to start the server? Does it have flags that set the JVM's memory allocation?

Expand  

[mcserver@vps-balykin95 ms]$ cat start.sh
#!/bin/bash
memory="512"
java -Xmx"$memory"M -jar forge-1.12.2-14.23.4.2705-universal.jar

 

Big thanks for answer!

Posted

512M? That's not enough for modded... try giving it 2G or 3G

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

 

Posted

This is not what a webhost server is for...

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

 

Posted

I'm afraid I don't know if Forge can run on a server that has so little memory and I doubt a webserver will have enough processing power anyway.

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

 

Posted

Hello!

 

  On 10/8/2018 at 7:33 PM, DaemonUmbra said:

I'm afraid I don't know if Forge can run on a server that has so little memory and I doubt a webserver will have enough processing power anyway.

Expand  

Maybe yestarday i was very tired, and that was an reason i couldn't explain my problem full.

 

Second try :)

That problem with start was appeared, only when i start with sponge.

 

Todai I have tried to start on other server with 2GGz cpu and 2048 Ram.

When i started server with 1768Xmx it ended with Allocate 432MB memory error. So, as i understood, it tried to start more one JRE process and havent memory for it. When i started with Xmx1024 it wrked!

 

I dunno why, but with sponge my server starts 131second!!!

 

Without it, server was started in 4.65second, lel. Any ideas, why sponge doing dat shit?

 

Centos 7, java 1.8.0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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