The Meaning of Life, the Universe, and Everything.
Join Date:
4/13/2014
Posts:
176
Member Details
So i am hosting a server for a small number of people, probably 5 at max using hamachi. The server is hosted from my Laptop with 4 GB of ram, an AMD-FX 7500 Radeon R7, and i run both my server and my minecraft client from the same laptop.
My friends can connect well to the server, but whenever i logged in to the server, the "Cant Keep Up!" Errors shows up and says the server is skipping some ticks, even when i connect through localhost, so this is obviously a fault with java, or my device. Sometimes it even made the server shut down, but the server GUI (when i still used it) shows that i am barely using the allocated memory
I am using a client with only optifine 1.11.2 HD U B7 Installed, with 1 gigs allocated for minecraft on the launch settings
On the server, i use a .bat file with the followin command : java -Xms1024M -Xmx1024M -jar minecraft_server.1.11.2.jar nogui
this couldnt be my laptop lacking in ram since i did run a server from before (around version 1.2.5 - the horse update) and it doesnt lag
i'm considering : updating java, and the LWJGL for my laptop
any pointers on what to do and how i trace down the cause of the error?
Thanks!
EDIT : I now provide the detailed error log after the crash, which apparently showed the mem usage spiked up to 936 MB out of 1022 MB allocated
---- Minecraft Crash Report ----
// There are four lights!
Time: 08/05/17 15:58
Description: Watching Server
java.lang.Error
at ajs.E(SourceFile:231)
at ajs.o(SourceFile:729)
at sw.m_(SourceFile:1009)
at sw.g(SourceFile:1571)
at sw.n(SourceFile:1870)
at sx.n(SourceFile:499)
at sk.n(SourceFile:144)
at sw.A_(SourceFile:1703)
at sx.A_(SourceFile:282)
at ajs.a(SourceFile:1517)
at lw.a(SourceFile:718)
at ajs.h(SourceFile:1495)
at ajs.k(SourceFile:1378)
at lw.k(SourceFile:551)
at net.minecraft.server.MinecraftServer.D(SourceFile:634)
at lh.D(SourceFile:335)
at net.minecraft.server.MinecraftServer.C(SourceFile:562)
at net.minecraft.server.MinecraftServer.run(SourceFile:466)
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 Watchdog
Stacktrace:
at ajs.E(SourceFile:231)
at ajs.o(SourceFile:729)
at sw.m_(SourceFile:1009)
at sw.g(SourceFile:1571)
at sw.n(SourceFile:1870)
at sx.n(SourceFile:499)
at sk.n(SourceFile:144)
at sw.A_(SourceFile:1703)
at sx.A_(SourceFile:282)
at ajs.a(SourceFile:1517)
at lw.a(SourceFile:718)
at ajs.h(SourceFile:1495)
at ajs.k(SourceFile:1378)
at lw.k(SourceFile:551)
at net.minecraft.server.MinecraftServer.D(SourceFile:634)
at lh.D(SourceFile:335)
at net.minecraft.server.MinecraftServer.C(SourceFile:562)
-- Thread Dump --
Details:
Threads: "Netty Server IO #2" 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@4313f2cc
- locked java.util.Collections$UnmodifiableSet@4dd414de
- locked sun.nio.ch.WindowsSelectorImpl@49eb99bc
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...
"Netty Server IO #1" Id=29 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@ce91ee5
- locked java.util.Collections$UnmodifiableSet@50300826
- locked sun.nio.ch.WindowsSelectorImpl@3daf941a
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...
"File IO Thread" Id=39 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at bdp.c(SourceFile:51)
at bdp.run(SourceFile:30)
at java.lang.Thread.run(Unknown Source)
"Server Watchdog" Id=37 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
at li.run(SourceFile:43)
at java.lang.Thread.run(Unknown Source)
"Netty Server IO #0" Id=28 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@289cdc6a
- locked java.util.Collections$UnmodifiableSet@6cc6e1aa
- locked sun.nio.ch.WindowsSelectorImpl@3c67b52c
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...
"D3D Screen Updater" Id=26 TIMED_WAITING on java.lang.Object@7da9f9fe
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@7da9f9fe
at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Server console handler" Id=25 RUNNABLE (in native)
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked java.io.BufferedInputStream@339815ad
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
- locked java.io.InputStreamReader@688879c5
at java.io.InputStreamReader.read(Unknown Source)
...
"DestroyJavaVM" Id=24 RUNNABLE
"Server thread" Id=22 RUNNABLE
at ajs.E(SourceFile:231)
at ajs.o(SourceFile:729)
at sw.m_(SourceFile:1009)
at sw.g(SourceFile:1571)
at sw.n(SourceFile:1870)
at sx.n(SourceFile:499)
at sk.n(SourceFile:144)
at sw.A_(SourceFile:1703)
...
"TimerQueue" Id=20 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5b930df2
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5b930df2
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@69476f2d
"Thread-4" Id=19 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@28d55e50
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@28d55e50
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 lk$4.run(SourceFile:129)
at java.lang.Thread.run(Unknown Source)
"AWT-EventQueue-0" Id=18 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3b85cde
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3b85cde
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.awt.EventQueue.getNextEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
...
"AWT-Windows" Id=16 RUNNABLE (in native)
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=15 WAITING on java.lang.Object@51d47583
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@51d47583
at java.lang.Object.wait(Unknown Source)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Java2D Disposer" Id=14 WAITING on java.lang.ref.ReferenceQueue$Lock@126b0ed6
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@126b0ed6
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=13 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at lh$1.run(SourceFile:79)
"Snooper Timer" Id=12 TIMED_WAITING on java.util.TaskQueue@104ee515
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@104ee515
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@5151056e
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@5151056e
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@235b0aaa
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@235b0aaa
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 li.run(SourceFile:59)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 981496448 bytes (936 MB) / 1071644672 bytes (1022 MB) up to 1071644672 bytes (1022 MB)
JVM Flags: 4 total; -Xmx1024M -Xms1024M -Xms1g -Xmx1g
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Player Count: 1 / 5; [ly['UsamahJundiA'/318, l='world', x=14.68, y=68.00, z=339.75]]
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
So i am hosting a server for a small number of people, probably 5 at max using hamachi. The server is hosted from my Laptop with 4 GB of ram, an AMD-FX 7500 Radeon R7, and i run both my server and my minecraft client from the same laptop.
My friends can connect well to the server, but whenever i logged in to the server, the "Cant Keep Up!" Errors shows up and says the server is skipping some ticks, even when i connect through localhost, so this is obviously a fault with java, or my device. Sometimes it even made the server shut down, but the server GUI (when i still used it) shows that i am barely using the allocated memory
I am using a client with only optifine 1.11.2 HD U B7 Installed, with 1 gigs allocated for minecraft on the launch settings
On the server, i use a .bat file with the followin command : java -Xms1024M -Xmx1024M -jar minecraft_server.1.11.2.jar nogui
this couldnt be my laptop lacking in ram since i did run a server from before (around version 1.2.5 - the horse update) and it doesnt lag
i'm considering : updating java, and the LWJGL for my laptop
any pointers on what to do and how i trace down the cause of the error?
Thanks!
EDIT : I now provide the detailed error log after the crash, which apparently showed the mem usage spiked up to 936 MB out of 1022 MB allocated
Hail the nutcracker queen
It probebly has to load so much stuff when you log in that it can't keep up until it has loaded everything.