Jump to content

[1.7.10] server out of memory


xert7xainsf

Recommended Posts

Hi,

I keep getting this error in my modded server despite me allocating 4 gb of Ram (starting it with a .bat file)

heres the error:

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

Caused by: java.lang.OutOfMemoryError: PermGen space

at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]

at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_51]

at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_51]

at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_51]

at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at mcp.mobius.waila.Waila.preInit(Waila.java:67) ~[Waila.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?]

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

[19:38:09] [server thread/WARN] [FML/]: Can't revert to frozen GameData state without freezing first.

[19:38:09] [server thread/INFO] [FML/]: Applying holder lookups

[19:38:09] [server thread/INFO] [FML/]: Holder lookups applied

[19:38:10] [server thread/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:38:45] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:38:58] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:39:17] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NoClassDefFoundError: net/minecraft/command/ServerCommand

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.dedicated.DedicatedServer.func_71331_a(DedicatedServer.java:362)

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:99)

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassNotFoundException: net.minecraft.command.ServerCommand

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source)

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.ClassLoader.loadClass(Unknown Source)

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 2 more

[19:39:31] [server console handler/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.OutOfMemoryError: PermGen space

[19:39:49] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:39:52] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:39:54] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:39:56] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:40:07] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

[19:40:09] [AWT-EventQueue-0/INFO] [sTDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.OutOfMemoryError: PermGen space

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

 

I was wondering if it was casued by it loads the .bat file and i get a command - prompt looking console but then I also get the vanilla console and wondered if it was also launching the vanilla console but without the extra ram? heres my .bat file code:

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

java -Xms4G -Xmx4G -jar forge-1.7.10-10.13.2.1291-universal.jar -o true

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

 

or could it be one of the mods I have installed?

thx -Guy

 

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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