本帖最后由 JerryZRF 于 2020-8-13 16:29 编辑
这个参数是设置每个线程的堆栈大小,那如果我把他调得很大呢说明是在jdk1.5以后这个的默认参数是1M,但站内医优化贴说明mc用512k就行了,现在我把它调成2048k,看看结果
因为我现在不能用电脑(原因你懂的
),所以用的是mcinabox启动器0.1.3,Xmx和Xms均为962M(不能再大了,再大就崩溃)测试开始
先测试了个服务器
帧数忘记看了,不过感觉较为流畅(不过估计没有60fps),内存似乎还少了一点,本来200-350M波动,现在150-300M波动
现在,我准备去测试-Xss10M
祝我好运回来了,崩溃报告

本人纯萌新,请大佬指(轻)点(喷)
这个参数是设置每个线程的堆栈大小,那如果我把他调得很大呢说明是在jdk1.5以后这个的默认参数是1M,但站内医优化贴说明mc用512k就行了,现在我把它调成2048k,看看结果
因为我现在不能用电脑(原因你懂的

先测试了个服务器
帧数忘记看了,不过感觉较为流畅(不过估计没有60fps),内存似乎还少了一点,本来200-350M波动,现在150-300M波动
然后,就崩溃了

不过好像是因为我点得太快了而崩溃的(mcinabox的问题)
崩溃报告
---- Minecraft Crash Report ---- WARNING: coremods are present: Contact their authors BEFORE contacting forge // I bet Cylons wouldn't have this problem. Time: 8/13/20 8:07 AM Description: Unexpected error java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:521) at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169) at org.lwjgl.opengl.BoatKeyboard.putKeyboardEvent(BoatKeyboard.java:82) at org.lwjgl.opengl.BoatKeyboard.flushDeferredEvent(BoatKeyboard.java:132) at org.lwjgl.opengl.BoatKeyboard.poll(BoatKeyboard.java:74) at org.lwjgl.opengl.BoatDisplay.pollKeyboard(BoatDisplay.java:202) at org.lwjgl.input.Keyboard.poll(Keyboard.java:387) at org.lwjgl.opengl.Display.pollDevices(Display.java:680) at org.lwjgl.opengl.Display.processMessages(Display.java:604) at org.lwjgl.opengl.Display.update(Display.java:668) at org.lwjgl.opengl.Display.update(Display.java:630) at net.minecraft.client.Minecraft.func_175601_h(Minecraft.java:1128) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1084) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.nio.Buffer.nextPutIndex(Buffer.java:521) at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169) at org.lwjgl.opengl.BoatKeyboard.putKeyboardEvent(BoatKeyboard.java:82) at org.lwjgl.opengl.BoatKeyboard.flushDeferredEvent(BoatKeyboard.java:132) at org.lwjgl.opengl.BoatKeyboard.poll(BoatKeyboard.java:74) at org.lwjgl.opengl.BoatDisplay.pollKeyboard(BoatDisplay.java:202) at org.lwjgl.input.Keyboard.poll(Keyboard.java:387) at org.lwjgl.opengl.Display.pollDevices(Display.java:680) at org.lwjgl.opengl.Display.processMessages(Display.java:604) at org.lwjgl.opengl.Display.update(Display.java:668) at org.lwjgl.opengl.Display.update(Display.java:630) -- Affected level -- Details: Level name: MpServer All players: 2 total; [EntityPlayerSP['JERRYZRF2008'/205366, l='MpServer', x=-1420.89, y=12.00, z=532.17], EntityOtherPlayerMP['6277c'/212, l='MpServer', x=-1428.94, y=20.89, z=561.86]] Chunk stats: MultiplayerChunkCache: 81, 81 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: -1444.00,4.00,491.00 - World: (-1444,4,491), Chunk: (at 12,0,11 in -91,30; contains blocks -1456,0,480 to -1441,255,495), Region: (-3,0; contains chunks -96,0 to -65,31, blocks -1536,0,0 to -1025,255,511) Level time: 1104515 game time, 104376 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 5 total; [EntityWither['§f§l阶段 2 - 03:08'/4262, l='MpServer', x=-1419.16, y=16.10, z=513.16], EntityOtherPlayerMP['ReportO1'/2027, l='MpServer', x=-1407.66, y=11.67, z=587.88], EntityOtherPlayerMP['6277c'/212, l='MpServer', x=-1428.94, y=20.89, z=561.86], EntityPlayerSP['JERRYZRF2008'/205366, l='MpServer', x=-1420.89, y=12.00, z=532.17], EntityOtherPlayerMP['6277c'/212, l='MpServer', x=-1428.94, y=20.89, z=561.86]] Retry entities: 0 total; [] Server brand: BungeeCord (unknown) <- PaperSpigot Server type: Non-integrated multiplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:347) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2536) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Linux (arm) version 4.9.186-perf-gd59f0eb Java Version: 1.8.0-internal, Oracle Corporation Java VM Version: OpenJDK Client VM (mixed mode), Oracle Corporation Memory: 174561344 bytes (166 MB) / 430583808 bytes (410 MB) up to 975110144 bytes (929 MB) JVM Flags: 2 total; -Xmx962m -Xms128m IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP 9.19 Powered by Forge 11.15.1.2318 6 mods loaded, 6 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHIJA Forge{11.15.1.2318} [Minecraft Forge] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHIJA foamfix{@VERSION@} [FoamFix] (foamfix-0.6.3-law-1.8.x.jar) UCHIJA lucky{7.0.2} [Lucky Block] (Lucky-Block-Mod-1.8.9.zip) UCHIJA orangesimplemod{1.0} [orangesimplemod] (Orange's+Simple+Mods-1.2.jar) Loaded coremods (and transformers): Launched Version: "MCinaBox-0.1.3" LWJGL: 2.9.3 OpenGL: GL4ES wrapper GL version 2.0 gl4es wrapper 1.1.2, p**eb GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported. Shaders are available because ARB_shader_objects, ARB_vertex_shader, and ARB_fragment_shader are supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Current Language: 简体中文 (中国) Profiler Position: N/A (disabled) CPU: 9x ARMv8 Processor rev 12 (v8l) |

祝我好运回来了,崩溃报告
---- Minecraft Crash Report ---- WARNING: coremods are present: Contact their authors BEFORE contacting forge // Who set us up the TNT? Time: 8/13/20 8:26 AM Description: Unexpected error java.lang.IllegalArgumentException: Internal error: event size 18 does not equal the given event size 1 at org.lwjgl.opengl.EventQueue.putEvent(EventQueue.java:76) at org.lwjgl.opengl.BoatKeyboard.putKeyboardEvent(BoatKeyboard.java:84) at org.lwjgl.opengl.BoatKeyboard.flushDeferredEvent(BoatKeyboard.java:132) at org.lwjgl.opengl.BoatKeyboard.poll(BoatKeyboard.java:74) at org.lwjgl.opengl.BoatDisplay.pollKeyboard(BoatDisplay.java:202) at org.lwjgl.input.Keyboard.poll(Keyboard.java:387) at org.lwjgl.opengl.Display.pollDevices(Display.java:680) at org.lwjgl.opengl.Display.processMessages(Display.java:604) at org.lwjgl.opengl.Display.update(Display.java:668) at org.lwjgl.opengl.Display.update(Display.java:630) at net.minecraft.client.Minecraft.func_175601_h(Minecraft.java:1128) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1084) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at org.lwjgl.opengl.EventQueue.putEvent(EventQueue.java:76) at org.lwjgl.opengl.BoatKeyboard.putKeyboardEvent(BoatKeyboard.java:84) at org.lwjgl.opengl.BoatKeyboard.flushDeferredEvent(BoatKeyboard.java:132) at org.lwjgl.opengl.BoatKeyboard.poll(BoatKeyboard.java:74) at org.lwjgl.opengl.BoatDisplay.pollKeyboard(BoatDisplay.java:202) at org.lwjgl.input.Keyboard.poll(Keyboard.java:387) at org.lwjgl.opengl.Display.pollDevices(Display.java:680) at org.lwjgl.opengl.Display.processMessages(Display.java:604) at org.lwjgl.opengl.Display.update(Display.java:668) at org.lwjgl.opengl.Display.update(Display.java:630) -- Affected level -- Details: Level name: MpServer All players: 2 total; [EntityPlayerSP['JERRYZRF2008'/205756, l='MpServer', x=-1514.07, y=12.00, z=463.11], EntityOtherPlayerMP['§9ReportO1'/358, l='MpServer', x=1448.91, y=66.00, z=-397.16]] Chunk stats: MultiplayerChunkCache: 81, 81 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: -1444.00,4.00,491.00 - World: (-1444,4,491), Chunk: (at 12,0,11 in -91,30; contains blocks -1456,0,480 to -1441,255,495), Region: (-3,0; contains chunks -96,0 to -65,31, blocks -1536,0,0 to -1025,255,511) Level time: 1126233 game time, 126094 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 9 total; [EntityWither['§f§l阶段 4 - 05:02'/12868, l='MpServer', x=-1530.68, y=14.22, z=470.97], EntityOtherPlayerMP['§9ReportO1'/358, l='MpServer', x=1448.91, y=66.00, z=-397.16], EntityPlayerSP['JERRYZRF2008'/205756, l='MpServer', x=-1514.07, y=12.00, z=463.11], EntityOtherPlayerMP['§9ReportO1'/358, l='MpServer', x=1448.91, y=66.00, z=-397.16], EntityOtherPlayerMP['45456544'/1027, l='MpServer', x=-1423.13, y=20.00, z=579.16], EntityOtherPlayerMP['Z_745632'/7214, l='MpServer', x=-1446.44, y=34.97, z=550.28], EntityOtherPlayerMP['6277c'/6288, l='MpServer', x=-1413.09, y=20.00, z=585.56], EntityOtherPlayerMP['ReportO1'/2027, l='MpServer', x=-1418.47, y=20.00, z=577.81], EntityOtherPlayerMP['qhc_yehun'/813, l='MpServer', x=-1406.53, y=27.00, z=543.19]] Retry entities: 0 total; [] Server brand: BungeeCord (unknown) <- PaperSpigot Server type: Non-integrated multiplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:347) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2536) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Linux (arm) version 4.9.186-perf-gd59f0eb Java Version: 1.8.0-internal, Oracle Corporation Java VM Version: OpenJDK Client VM (mixed mode), Oracle Corporation Memory: 164581048 bytes (156 MB) / 443092992 bytes (422 MB) up to 975110144 bytes (929 MB) JVM Flags: 2 total; -Xmx962m -Xms128m IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.2318 6 mods loaded, 6 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHIJA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHIJA Forge{11.15.1.2318} [Minecraft Forge] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHIJA foamfix{@VERSION@} [FoamFix] (foamfix-0.6.3-law-1.8.x.jar) UCHIJA lucky{7.0.2} [Lucky Block] (Lucky-Block-Mod-1.8.9.zip) UCHIJA orangesimplemod{1.0} [orangesimplemod] (Orange's+Simple+Mods-1.2.jar) Loaded coremods (and transformers): Launched Version: "MCinaBox-0.1.3" LWJGL: 2.9.3 OpenGL: GL4ES wrapper GL version 2.0 gl4es wrapper 1.1.2, p**eb GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported. Shaders are available because ARB_shader_objects, ARB_vertex_shader, and ARB_fragment_shader are supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: Current Language: 简体中文 (中国) Profiler Position: N/A (disabled) CPU: 9x ARMv8 Processor rev 12 (v8l) |

本人纯萌新,请大佬指(轻)点(喷)