[Potential Bug] World Edit using a severe amount of RAM per blockstate #2658
Labels
status:invalid
This does not describe a request or bug with WorldEdit
type:bug
Incorrect behavior, not working as intended
WorldEdit Version
7.2.15
Platform Version
Forge 47.3.0
Confirmations
Bug Description
Additional Placements dev, FirEmerald, found through my memory leak bug report that in fact, World Edit is using an incredible amount of RAM per blockstate ingame. This causes extensively modded instances to require upwards of 16GB to load worlds, which is an unplayable amount because of GC lag. My own Heapdump reflected similar data to what FirEmerald found in their tests. They know a lot more technical info than I do about this issue, so perhaps they can provide more relevant and enlightening data.
AP adds more blockstates; however, World Edit seems to be at fault for the RAM bloat described in this report:
FirEmerald/AdditionalPlacements#96
Expected Behavior
I'm not sure. This may be an unfortunate side effect of World Edit's functions, in which case this is an unavoidable incompatibility with mods like Additional Placements that add extensive additional blockstates. This is only in the case of large modpacks exceeding 500+ extra blocks.
Reproduction Steps
Anything Else?
There are some interesting details about how this issue began, but I don't think they're entirely relevant to World Edit's RAM usage, only relevant to Additional Placements' functionality.
The text was updated successfully, but these errors were encountered: