spark

spark

95M Downloads

Corrupted Heap Dump

eduardopilati opened this issue ยท 1 comments

commented

when I run the command to generate a heap dump in the console the command ends with the following error:

[14:59:07 WARN]: [spark] A command execution has not completed after 5 seconds, it might be stuck. Trace: 
  [email protected]/java.io.FileDescriptor.close0(Native Method)
  [email protected]/java.io.FileDescriptor.close(FileDescriptor.java:297)
  [email protected]/java.io.FileDescriptor$1.close(FileDescriptor.java:88)
  [email protected]/sun.nio.ch.FileChannelImpl$Closer.run(FileChannelImpl.java:115)
  [email protected]/jdk.internal.ref.CleanerImpl$PhantomCleanableRef.performCleanup(CleanerImpl.java:178)
  [email protected]/jdk.internal.ref.PhantomCleanable.clean(PhantomCleanable.java:133)
  [email protected]/sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:207)
  [email protected]/java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:112)
  [email protected]/java.nio.channels.Channels$1.close(Channels.java:176)
  [email protected]/sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:347)
  [email protected]/sun.nio.cs.StreamEncoder.close(StreamEncoder.java:169)
  [email protected]/java.io.OutputStreamWriter.close(OutputStreamWriter.java:252)
  [email protected]/java.io.BufferedWriter.close(BufferedWriter.java:269)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.activitylog.ActivityLog.save(ActivityLog.java:83)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.activitylog.ActivityLog.addToLog(ActivityLog.java:56)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.command.modules.HeapAnalysisModule.heapDump(HeapAnalysisModule.java:169)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.command.modules.HeapAnalysisModule$$Lambda$7400/0x00000008021bb9a8.execute(Unknown Source)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:392)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:302)
  spark-1.9.23-bukkit.jar//me.lucko.spark.common.SparkPlatform$$Lambda$12512/0x0000000802e144e0.run(Unknown Source)
  org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101)
  org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
  com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
  [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  [email protected]/java.lang.Thread.run(Thread.java:833)

Heapdump is generated incomplete and corrupted

is there any way to disable the time limit for the command to execute?

commented

It's not a time limit, just a warning.

Seems like a java/os error if it is getting stuck here

  [email protected]/java.io.FileDescriptor.close0(Native Method)
  [email protected]/java.io.FileDescriptor.close(FileDescriptor.java:297)