MCRcortex / MCRcortex/voxy

Big geometry buffer allocations causing instabilities

Open
#307 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

https://mclo.gs/Az7Q0KO

for some reason, the mod allocates 4095MB by default on my device causing freezes or sometimes crashes whenever i join a world, setting the geometry buffer manually doesn't seem to cause instabilities anymore

to manually set the geometry buffer, add the command line argument -Dvoxy.geometryBufferSizeOverrideMB=? and replace the ? with something optimal for your system as a number without any suffixes (e.g. 512 not 512mb)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction log and the -Dvoxy.geometryBufferSizeOverrideMB entry point, then trace how the default geometry buffer size is selected. Reproduce the allocation and verify that the default no longer requests an unsafe size, while the override continues to work without freezes or crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.