Trying to fix my Minecraft server that keeps crashing
Trying to fix my Minecraft server that keeps crashing
Hey there everyone I've been running my minecraft server for some time for my friends and myself without issues. 3 days ago I bought windows (was running non activated) and re-installed windows to do a clean install and I've been having issues since. First issue is starting the server, I used the .bat file from the wiki which opened the CMD and the Java GUI. Now can't run using that .bat gives me a VM Heap error. I tried to look it up and changed the variable but no luck. And now my server just decides to crash, like the JAVA GUI server just closes. Before it crashes breaking blocks or eating food does it indefinitely and nothing happens as if it's lagging so bad. Also get can't keep up warning messages but my system is pretty good and the server only uses about 300mb right now. My cpu is i5 4670k with 16GB RAM and it's on my SSD. I'm not even running any others software and it stil crashes. I really don't know what to do and we would all like to keep playing, hopefully someone can help me out and point me in a good direction. I've put a crash report in the spoiler below. Thanks for any help!
---- Minecraft Crash Report -------- Minecraft Crash Report ----// Shall we play a game? Time: 10/02/19 11:09 PMDescription: Watching Server java.lang.Error at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(Unknown Source) at java.util.concurrent.CompletableFuture$Signaller.block(Unknown Source) at java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source) at java.util.concurrent.CompletableFuture.waitingGet(Unknown Source) at java.util.concurrent.CompletableFuture.join(Unknown Source) at tc.a(SourceFile:122) at tk.a(SourceFile:87) at tl.c(SourceFile:123) at td.a(SourceFile:219) at net.minecraft.server.MinecraftServer.b(SourceFile:747) at so.b(SourceFile:360) at net.minecraft.server.MinecraftServer.a(SourceFile:681) at net.minecraft.server.MinecraftServer.run(SourceFile:584) at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows:--------------------------------------------------------------------------------------- -- Head --Thread: Server WatchdogStacktrace: at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(Unknown Source) at java.util.concurrent.CompletableFuture$Signaller.block(Unknown Source) at java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source) at java.util.concurrent.CompletableFuture.waitingGet(Unknown Source) at java.util.concurrent.CompletableFuture.join(Unknown Source) at tc.a(SourceFile:122) at tk.a(SourceFile:87) at tl.c(SourceFile:123) at td.a(SourceFile:219) at net.minecraft.server.MinecraftServer.b(SourceFile:747) at so.b(SourceFile:360) at net.minecraft.server.MinecraftServer.a(SourceFile:681) -- Thread Dump --Details: Threads: "WorldGen-Worker-3" Id=40 TIMED_WAITING on java.util.concurrent.ForkJoinPool@1daafba at sun.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.ForkJoinPool@1daafba at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) "File IO Thread" Id=38 TIMED_WAITING at java.lang.Thread.sleep(Native Method) at cdw.c(SourceFile:59) at cdw.run(SourceFile:35) at java.lang.Thread.run(Unknown Source) "WorldGen-Scheduler-1" Id=36 RUNNABLE at java.util.stream.MatchOps.makeInt(Unknown Source) at java.util.stream.IntPipeline.allMatch(Unknown Source) at pc.<init>(SourceFile:34) at pc.<init>(SourceFile:43) at hk.d(SourceFile:196) at bnk$$Lambda$1481/30381353.apply(Unknown Source) at bnl.a(SourceFile:90) at bnq.a(SourceFile:160) ... Number of locked synchronizers = 2 - java.util.concurrent.locks.ReentrantLock$NonfairSync@122c4ca - java.util.concurrent.ThreadPoolExecutor$Worker@445bb8 "Server Watchdog" Id=35 RUNNABLE at sun.management.ThreadImpl.dumpThreads0(Native Method) at sun.management.ThreadImpl.dumpAllThreads(Unknown Source) at sp.run(SourceFile:45) at java.lang.Thread.run(Unknown Source) "Netty Server IO #1" Id=31 RUNNABLE at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source) at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source) at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) - locked io.netty.channel.nio.SelectedSelectionKeySet@20580a - locked java.util.Collections$UnmodifiableSet@4d9acb - locked sun.nio.ch.WindowsSelectorImpl@1bacf69 at sun.nio.ch.SelectorImpl.select(Unknown Source) at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756) ... "Netty Server IO #0" Id=30 RUNNABLE (in native) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method) at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source) at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source) at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source) at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) - locked io.netty.channel.nio.SelectedSelectionKeySet@3d5300 - locked java.util.Collections$UnmodifiableSet@fa745 - locked sun.nio.ch.WindowsSelectorImpl@e2f84d at sun.nio.ch.SelectorImpl.select(Unknown Source) at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62) at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756) ... "ObjectCleanerThread" Id=29 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@194b67f at java.lang.Object.wait(Native Method) - waiting on java.lang.ref.ReferenceQueue$Lock@194b67f at java.lang.ref.ReferenceQueue.remove(Unknown Source) at io.netty.util.internal.ObjectCleaner$1.run(ObjectCleaner.java:54) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Unknown Source) "D3D Screen Updater" Id=27 TIMED_WAITING on java.lang.Object@1395e1e at java.lang.Object.wait(Native Method) - waiting on java.lang.Object@1395e1e at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "DestroyJavaVM" Id=26 RUNNABLE "Server thread" Id=24 WAITING on java.util.concurrent.CompletableFuture$Signaller@41fbf3 at sun.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.CompletableFuture$Signaller@41fbf3 at java.util.concurrent.locks.LockSupport.park(Unknown Source) at java.util.concurrent.CompletableFuture$Signaller.block(Unknown Source) at java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source) at java.util.concurrent.CompletableFuture.waitingGet(Unknown Source) at java.util.concurrent.CompletableFuture.join(Unknown Source) at tc.a(SourceFile:122) at tk.a(SourceFile:87) ... "Thread-3" Id=21 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1305da6 at sun.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1305da6 at java.util.concurrent.locks.LockSupport.park(Unknown Source) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source) at com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77) at sr.a(SourceFile:124) at sr$$Lambda$1374/15872191.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "TimerQueue" Id=22 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@b959a9 at sun.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@b959a9 at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source) at java.util.concurrent.DelayQueue.take(Unknown Source) at javax.swing.TimerQueue.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Number of locked synchronizers = 1 - java.util.concurrent.locks.ReentrantLock$NonfairSync@1432831 "AWT-EventQueue-0" Id=20 RUNNABLE at javax.swing.RepaintManager.getDirtyRegion(Unknown Source) at javax.swing.JViewport.canUseWindowBlitter(Unknown Source) at javax.swing.JViewport.setViewPosition(Unknown Source) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(Unknown Source) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source) at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source) at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source) at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source) ... "AWT-Windows" Id=18 RUNNABLE at sun.awt.windows.WToolkit.eventLoop(Native Method) at sun.awt.windows.WToolkit.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "AWT-Shutdown" Id=17 WAITING on java.lang.Object@19cb46e at java.lang.Object.wait(Native Method) - waiting on java.lang.Object@19cb46e at java.lang.Object.wait(Unknown Source) at sun.awt.AWTAutoShutdown.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "Java2D Disposer" Id=16 WAITING on java.lang.ref.ReferenceQueue$Lock@260396 at java.lang.Object.wait(Native Method) - waiting on java.lang.ref.ReferenceQueue$Lock@260396 at java.lang.ref.ReferenceQueue.remove(Unknown Source) at java.lang.ref.ReferenceQueue.remove(Unknown Source) at sun.java2d.Disposer.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "Server Infinisleeper" Id=15 TIMED_WAITING at java.lang.Thread.sleep(Native Method) at so$1.run(SourceFile:94) "Snooper Timer" Id=14 WAITING on java.util.TaskQueue@8caac3 at java.lang.Object.wait(Native Method) - waiting on java.util.TaskQueue@8caac3 at java.lang.Object.wait(Unknown Source) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) "Attach Listener" Id=5 RUNNABLE "Signal Dispatcher" Id=4 RUNNABLE "Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@b0d1aa at java.lang.Object.wait(Native Method) - waiting on java.lang.ref.ReferenceQueue$Lock@b0d1aa at java.lang.ref.ReferenceQueue.remove(Unknown Source) at java.lang.ref.ReferenceQueue.remove(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) "Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@533dd6 at java.lang.Object.wait(Native Method) - waiting on java.lang.ref.Reference$Lock@533dd6 at java.lang.Object.wait(Unknown Source) at java.lang.ref.Reference.tryHandlePending(Unknown Source) at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source) Stacktrace: at sp.run(SourceFile:61) at java.lang.Thread.run(Unknown Source) -- System Details --Details: Minecraft Version: 1.13.2 Operating System: Windows 10 (x86) version 10.0 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation Memory: 1750424 bytes (1 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB) JVM Flags: 0 total; Profiler Position: N/A (disabled) Player Count: 1 / 20; [tf['McNuggets07'/173, l='world', x=-1134.30, y=68.00, z=-952.70]] Data Packs: vanilla Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
It's really many mistakes here. I'm suggesting you remove everything—Java, the server software, etc.—and start fresh. You should back up your world data so you and your friends don't have to begin again. I don't know how to do that easily, but you can look it up online. Once that's done, just destroy it from space.
Attempted reinstalling Java but failed. It installs a 32-bit version, and the website no longer allows selection between 64-bit or 32-bit. I think they may have changed their download page. I'll try a different server and save the world data tonight when I'm back home.