Skip to content

EncodedRtIp31BottomLevelBvh::PostLoad allocates too much memory #11

@KonstantinSeurer

Description

@KonstantinSeurer
triangle_surface_area_heuristic_.resize((uint32_t)interior_nodes_.size(), 0);

can oom when loading a capture. interior_nodes_.size() is in bytes but only one float per node is needed (1/128 of the allocated amount).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions