I believe I ran out of memory on my CraftBukkit 1.8 Server, and I dont know how to allocate more memory to it. When anyone tries to join, it immediately crashes. Can anyone tell me how to allocate more memory or what they think is the problem?
In your file where you run the jar file, change the 1G or 512M or whatever is there to a higher number.
(Keep in mind this is the new 1.8 Spigot-updated CraftBukkit server files) The .jar or the .bat file? If the .bat file, this is what I have in it at the moment: java -jar cbukkit.jar
@Kittenz1 Change it to java -Xmx2G -Xms2G -jar cbukkit.jar and replace the 2G's with 1 number of gigabytes you want to allocate for the server.
@nverdier Hmm ok that worked, and will be useful in the future, but idk what's wrong with the server because its still crashes Here's the beginning of the hs_err_pid8932.log crash file if it might help: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ea01580, pid=8932, tid=2928 # # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0xa1580] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp #