Jump to content
  • 0
Legolass0

Java ist seit kurzem extrem langsam. Woran liegt das?

Question

Can't keep up! Is the server overloaded? Running 2147ms or 42 ticks behind!

Seit heute ist die Konsole meines Servers voll mit diesen Nachrichten. Die Zahlen werden dabei immer größer bis der Server irgendwann abstürzt. Zuvor hatte ich das Problem, dass die .jar Datei sich nach einer Sekunde sofort wieder schließt. Nachdem ich Java ein paar Mal neuinstalliert habe, konnte ich die .jar dann endlich wieder ausführen. Jedoch läuft diese nun extrem langsam.

Der Server ist ein einfacher Vanilla Server, dessen .jar-Datei ich direkt aus dem Minecraft Launcher habe. Ich spiele mit einem Freund auf dem Server, indem wir uns über Hamachi verbinden. Selbst wenn ich eine neue Welt generiere und alleine auf dem Server bin, gibt es das Problem. Zuvor hat es sonst auch immer mit dem Server funktioniert.

Prozessor: Intel(R) Core(TM) i5-4460 CPU @ 3.20 GHz

Installierter RAM: 8GB

System: Windows 10 64-Bit

 Das ist der Crash Report:

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 19.11.19 18:37
Description: Watching Server

java.lang.Error
	at com.google.common.collect.Iterators.forArray(Iterators.java:1011)
	at com.google.common.collect.Iterators.forArray(Iterators.java:984)
	at fb$c.iterator(SourceFile:532)
	at bnd.a(SourceFile:95)
	at bvt.a(SourceFile:309)
	at bnd.b(SourceFile:38)
	at bmv.c(SourceFile:545)
	at bvt.b(SourceFile:269)
	at vk.a(SourceFile:466)
	at vi.a(SourceFile:405)
	at vi$$Lambda$2293/6620081.accept(Unknown Source)
	at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$1.forEach(Long2ObjectLinkedOpenHashMap.java:1661)
	at com.google.common.collect.Iterables$UnmodifiableIterable.forEach(Iterables.java:105)
	at vi.o(SourceFile:366)
	at vi.a(SourceFile:335)
	at vk.a(SourceFile:316)
	at net.minecraft.server.MinecraftServer.b(SourceFile:835)
	at uk.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:774)
	at net.minecraft.server.MinecraftServer.run(SourceFile:642)
	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 com.google.common.collect.Iterators.forArray(Iterators.java:1011)
	at com.google.common.collect.Iterators.forArray(Iterators.java:984)
	at fb$c.iterator(SourceFile:532)
	at bnd.a(SourceFile:95)
	at bvt.a(SourceFile:309)
	at bnd.b(SourceFile:38)
	at bmv.c(SourceFile:545)
	at bvt.b(SourceFile:269)
	at vk.a(SourceFile:466)
	at vi.a(SourceFile:405)
	at vi$$Lambda$2293/6620081.accept(Unknown Source)
	at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$1.forEach(Long2ObjectLinkedOpenHashMap.java:1661)
	at com.google.common.collect.Iterables$UnmodifiableIterable.forEach(Iterables.java:105)
	at vi.o(SourceFile:366)
	at vi.a(SourceFile:335)
	at vk.a(SourceFile:316)
	at net.minecraft.server.MinecraftServer.b(SourceFile:835)
	at uk.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:774)

-- Thread Dump --
Details:
	Threads: "Server-Worker-11" Id=50 WAITING on java.util.concurrent.[email protected]
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.[email protected]
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Server-Worker-10" Id=49 WAITING on java.util.concurrent.[email protected]
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.[email protected]
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Server-Worker-7" Id=46 TIMED_WAITING on java.util.concurrent.[email protected]
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.[email protected]
	at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


"Netty Server IO #4" Id=42 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.[email protected]
	-  locked java.util.[email protected]
	-  locked sun.nio.ch.[email protected]
	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 #3" Id=41 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.[email protected]
	-  locked java.util.[email protected]
	-  locked sun.nio.ch.[email protected]
	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 #2" Id=34 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.[email protected]
	-  locked java.util.[email protected]
	-  locked sun.nio.ch.[email protected]
	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 #1" Id=33 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.[email protected]
	-  locked java.util.[email protected]
	-  locked sun.nio.ch.[email protected]
	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)
	...


"Server Watchdog" Id=31 RUNNABLE
	at sun.management.ThreadImpl.dumpThreads0(Native Method)
	at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
	at un.run(SourceFile:45)
	at java.lang.Thread.run(Unknown Source)


"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.[email protected]
	-  locked java.util.[email protected]
	-  locked sun.nio.ch.[email protected]
	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.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.[email protected]
	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=28 TIMED_WAITING on java.lang.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.[email protected]
	at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


"DestroyJavaVM" Id=26 RUNNABLE


"Server thread" Id=15 RUNNABLE
	at com.google.common.collect.Iterators.forArray(Iterators.java:1011)
	at com.google.common.collect.Iterators.forArray(Iterators.java:984)
	at fb$c.iterator(SourceFile:532)
	at bnd.a(SourceFile:95)
	at bvt.a(SourceFile:309)
	at bnd.b(SourceFile:38)
	at bmv.c(SourceFile:545)
	at bvt.b(SourceFile:269)
	...


"Thread-3" Id=22 WAITING on java.util.concurrent.locks.[email protected]
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.locks.[email protected]
	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 uq.a(SourceFile:137)
	at uq$$Lambda$1925/5036090.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


"TimerQueue" Id=23 TIMED_WAITING on java.util.concurrent.locks.[email protected]
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.locks.[email protected]
	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.[email protected]


"AWT-EventQueue-0" Id=21 RUNNABLE
	at javax.swing.RepaintManager.addInvalidComponent(Unknown Source)
	-  locked javax.swing.[email protected]
	at javax.swing.JComponent.revalidate(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$RootView.preferenceChanged(Unknown Source)
	at javax.swing.text.View.preferenceChanged(Unknown Source)
	at javax.swing.text.PlainView.updateDamage(Unknown Source)
	at javax.swing.text.PlainView.insertUpdate(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source)
	...


"AWT-Windows" Id=19 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=18 WAITING on java.lang.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.[email protected]
	at java.lang.Object.wait(Unknown Source)
	at sun.awt.AWTAutoShutdown.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


"Java2D Disposer" Id=17 WAITING on java.lang.ref.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.[email protected]
	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=16 TIMED_WAITING
	at java.lang.Thread.sleep(Native Method)
	at uk$1.run(SourceFile:93)


"Snooper Timer" Id=14 WAITING on java.util.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.util.[email protected]
	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.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.[email protected]
	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.[email protected]
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.[email protected]
	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 un.run(SourceFile:61)
	at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
	Minecraft Version: 1.14.4
	Minecraft Version ID: 1.14.4
	Operating System: Windows 10 (x86) version 10.0
	Java Version: 1.8.0_231, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 6003152 bytes (5 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
	CPUs: 4
	JVM Flags: 0 total; 
	Player Count: 1 / 3; [vl['Legolass0'/768, l='world', x=13142.33, y=62.50, z=-357.95]]
	Data Packs: vanilla
	Is Modded: Unknown (can't tell)
	Type: Dedicated Server (map_server.txt)

Woran kann es liegen, dass seit heute Java so langsam ist und vor allem, wie kann ich es beheben?

Mit vielen Grüßen, Legolass0

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Wie viel RAM gibst du dem Server?

Aka. was gibst du in der CMD an um ihn zu starten. In der Crash Log steht 256MB was definitiv zu wenig ist.

Edited by Knight

Share this post


Link to post
Share on other sites
  • 1

Wie startest du denn den Server?

Falls du ihn mit Klick auf die jar startest, dann erstelle mal eine Datei, nenne sie start.bat (ohne .txt am Ende) und schreibe  den Teil unten hinen. Starten. Falls du nicht weiterkommst, einfach melden. 
 

LG
Tobias

@ECHO OFF
java -Xms512M -Xmx1024M -jar meineMinecraftServerDateiHier.jar nogui
pause

Share this post


Link to post
Share on other sites
  • 0
vor 12 Stunden schrieb Knight:

Wie viel RAM gibst du dem Server?

Aka. was gibst du in der CMD an um ihn zu starten. In der Crash Log steht 256MB was definitiv zu wenig ist.

Sorry, bei RAM kenn ich mich überhaupt nicht aus. Wie kann ich die CMD einsehen und? Wenn das das Problem ist, scheint es ja nichts derartig schlimmes zu sein. 

Share this post


Link to post
Share on other sites
  • 0
Am 22.11.2019 um 11:16 schrieb Knight:

Wie startest du denn den Server?

Falls du ihn mit Klick auf die jar startest, dann erstelle mal eine Datei, nenne sie start.bat (ohne .txt am Ende) und schreibe  den Teil unten hinen. Starten. Falls du nicht weiterkommst, einfach melden. 
 

LG
Tobias

@ECHO OFF
java -Xms512M -Xmx1024M -jar meineMinecraftServerDateiHier.jar nogui
pause

danke, habs zum laufen gebracht ^^

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...