Skip to content

Measure game object retention after grid handover - #181

Open
viktor-ferenczi wants to merge 4 commits into
codex/se1845-nanite-repairfrom
codex/cluster-grid-reference-lifetime
Open

viktor-ferenczi wants to merge 4 commits into
codex/se1845-nanite-repairfrom
codex/cluster-grid-reference-lifetime

Conversation

@viktor-ferenczi

@viktor-ferenczi viktor-ferenczi commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Compare strong and weak-only game-object references across a real grid handover and a replicated safe-zone deletion. The test plugin records the entity type, process, live lookup and source ModAPI OnClose count. It flushes normal game callbacks and observes forced collections before and after dropping the explicit root.

On Linux with cluster 0.3.32 the three paired cases passed in 77.6 seconds. Both grids and both batteries arrived on node 2 under the original game IDs. Deleting the two admin safe zones removed their local copies from both regular nodes. Each of the six source objects delivered exactly one close event.

Source object Retired instance with a strong root Weak-only twin After releasing the root
27-block armor grid Reachable and closed, zero blocks left Collected Collected
Battery terminal block on a transferred grid Reachable and closed Collected Collected
Admin-created grid-independent safe zone Reachable and closed Collected Collected

The grid’s sampled slim armor block and physics wrapper collected while its grid object was still held. Two prior ordinary-grid runs gave the same strong/weak result in 62.8 and 61.8 seconds. The report tracks individual managed objects; it supplies no byte-level heap attribution. A weak-only or released instance that survives the observation window yields an inconclusive result. SE-1845 observations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant