Alcatergit / Hbm-s-Nuclear-Tech-GIT

My fork of the HBM's nuclear tech mod.
GNU General Public License v3.0
63 stars 49 forks source link

WorldGen Cascading lag results in OutOfMemory #396

Closed I2pRandom closed 4 months ago

I2pRandom commented 5 months ago

There's a bizarre behavior with the mod when a lot of mods are installed. When generating chunks, the mod causes cascading lag while generating structures. which eventually will for some reason cause an OutOfMemory error. I did a test for sanity, the OutOfMemory only occurs when HBM is loaded.

LogFiles [latest.log](https://github.com/Alcatergit/Hbm-s-Nuclear-Tech-GIT/files/15195054/latest.log) Debug.log too large, and too long to create gist. [replay_pid14876.log](https://github.com/Alcatergit/Hbm-s-Nuclear-Tech-GIT/files/15195075/replay_pid14876.log) [hs_err_pid14876.log](https://github.com/Alcatergit/Hbm-s-Nuclear-Tech-GIT/files/15195076/hs_err_pid14876.log) ``` # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 1204352 bytes for Chunk::new # An error report file with more information is saved as: # E:\0Games\Minecraft\Instances\1.12.2\.minecraft\hs_err_pid14876.log java.lang.OutOfMemoryError [thread 11816 also had an error] [18:56:06] [Server thread/WARN] [FML]: HBM's Nuclear Tech - Extended Edition loaded a new chunk [30, -12] in dimension 0 (overworld) while populating chunk [30, 0], causing cascading worldgen lag. [18:56:06] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. [18:56:06] [Server thread/WARN] [FML]: HBM's Nuclear Tech - Extended Edition loaded a new chunk [30, -13] in dimension 0 (overworld) while populating chunk [30, 0], causing cascading worldgen lag. [18:56:06] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. [18:56:06] [Server thread/WARN] [FML]: HBM's Nuclear Tech - Extended Edition loaded a new chunk [33, -11] in dimension 0 (overworld) while populating chunk [30, 0], causing cascading worldgen lag. [18:56:06] [Server thread/WARN] [FML]: Please report this to the mod's issue tracker. This log can be disabled in the Forge config. # # Compiler replay data is saved as: # E:\0Games\Minecraft\Instances\1.12.2\.minecraft\replay_pid14876.log AL lib: (EE) alc_cleanup: 1 device not closed Process exited with code 1. ```

Mods https://gist.github.com/I2pRandom/bfd65152a9c9c281125836e3c65871bc

I2pRandom commented 4 months ago

Scratch that, after several hours of fiddling with this install. I eventually did get the error without HBM. it is not this mod.