Skip to content

Export peak memory: 8% higher on the BIM4LCA office since the embed hosts' saved meshes (#1401 follow-up) #1429

Closed

Description

@DrunkOnJava

#1401 (RE-340), which draws the walls that embed a curtain wall from their saved meshes where Revit raised their base, raises the export's peak memory on the models that have such walls, while its time does not move.

Measured on one runner per comparison, rvt-ifc default export:

File Run Base Peak before Peak after Ratio Time ratio
BIM4LCA office as built 41988998127 parent of #1401 (f55a95a7) 917 MiB 993 MiB 1.08 1.01
BIM4LCA office at permit 41988998127 parent of #1401 979 MiB 1,057 MiB 1.08 1.00
Core Interior 41988998127 parent of #1401 323 MiB 323 MiB 1.00 0.99
Snowdon Towers, architectural (2024) 41985044687 v0.15.0, so with the other changes since 1,063 MiB 1,108 MiB 1.04 0.99

#1400 is not the cause: run 41987351542, #1400 against v0.15.0, has every peak ratio at 1.00. Every other of the 68 files timed in run 41985044687 is at 1.03 or below.

The office has 42 candidate hosts as built and 41 at permit, of which 6 and 8 are drawn from their mesh, so reading the graphics of the walls that are not drawn from their mesh is a possible cost; this has not been measured. The viewer's wasm32 build has a 4 GiB ceiling, so this matters most for large models in the browser.

Done when: the allocation is found with a peak profile on the office. Either the peak is back to within 1.02 of the parent with byte-identical IFC on every Measure model (base=main, unfiltered), or it is recorded here as a measured floor, with its reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:partitionspriority:P3type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions