chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
653 stars 77 forks source link

2.0/2.1 Increased memory usage compared to 1.X #576

Closed jackjt8 closed 4 years ago

jackjt8 commented 4 years ago

Changes made to provide support for Minecraft 1.13 in Chunky 2.X have significantly increased the amount of memory used compared to Chunky 1.4.5.

Version Max Chunks with 16GB allocation Reduction (1.X)
with 540p canvas
1.4.5 50,000 0%
2.0beta6 20,000 60%
2.1-282 20,000 60%

I should note that with a more typical canvas size of 2160p, skymaps, etc. Actual Max Chunks will be about half of what is listed above. (ie 1.4.5 max ~25k, 2.X max ~10k)

ThisIsBrady commented 4 years ago

Any update on those numbers after 2.2? I think this issue can be closed because of the octree optimizations made by aTom3333, which reduced memory usage.

jackjt8 commented 4 years ago

Forgot to update this thread with the updated numbers after the nightly snapshot.

The Packed Octree results in about a 40% increase in the number of chunks we can load over 1.4.5 and.. well.. 2.X Legacy just doesn't compare.

1.4.5 2.X legacy 2.X packed
\~82k \~33k \~115k

28GB Allocation