Hi Team,
We are currently upgrading our application from HOOPS Communicator 2023 SP1 to 2026.4 and have encountered a memory-related issue.
Scenario
We load linked models using:
subRootNodeId =
gfxResObject.index === 0 && !this.isExternal
? [0]
: await this.model.loadSubtreeFromModel(
this.viewer.linkedModelsNodeId,
fileName
);
Issue
In 2026.4, every time a new model is loaded using loadSubtreeFromModel(), the browser memory usage appears to increase significantly (roughly doubles) and is not released afterward.
The same workflow in 2023 SP1 does not exhibit this behavior, and memory remains relatively stable across multiple load operations.
Questions
- Were there any changes to the internal implementation of
loadSubtreeFromModel()between 2023 SP1 and 2026.4 that could affect memory usage? - Is there any additional cleanup/unload API that should now be called after removing or replacing a subtree?
- Are there known memory leaks or regressions related to linked model loading in 2026.4?
- What is the recommended way to completely unload a subtree loaded through
loadSubtreeFromModel()and reclaim memory?
Additional Information
- Source version: 2023 SP1
- Target version: 2026.4
- Memory increase is observed after repeatedly loading new models.
- The issue appears specifically related to subtree/model loading rather than general viewer operations.
Any guidance on debugging or profiling this would be appreciated.
Thanks!