Skip to content

Avoid Chromium focus crashes in large standalone exports - #101

Merged
mahach666 merged 1 commit into
mainfrom
codex/detach-standalone-bin
Dec 6, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/detach-standalone-bin

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

A standalone TdbIO export with 40,425 elements and roughly 296 MB of encoded geometry closed Chromium with a Windows out-of-memory exception when focus moved from model search to an element row.

Detach the binary script after loading it. The data reader retains the element so measurements, section fills and other tools can still read its contents lazily. The HTML format and scene payload are unchanged.

The regression test checks that the binary script has left the document before clicking a filtered row in the large model fixture. It fails on the previous bundle. The 233 JavaScript unit tests passed. The real standalone export was also checked offline with mouse input and returned both expected Tekla object GUIDs.

@mahach666
mahach666 marked this pull request as ready for review December 6, 2026 06:59
@mahach666
mahach666 merged commit f24671c into main Dec 6, 2026
7 checks passed
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