Board Thread:LotR Mod Technical Support/@comment-29740540-20180524111904

I was trying to troubleshoot why my server cannot run Forge, and it keeps saying heap size exceeded... so hoping that allocating more RAM will fix this (I have no idea what I'm doing :P)

Sooo. here's what I tried to run as a bat file (not sure how much RAM to actually allocate, just trying to get the file to work first off:

@echo off java -Xms1024M -Xmx1024M -jar forge-1.7.10-10.13.4.1558-1.7.10-universal.jar gui pause

Now, when I double click on this, it says:

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level at net.minecraft.launchwrapper.Launch.launch(Launch.java:94) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ... 6 more Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 8 more Press any key to continue. . . 