Skip to content

Empty GC blocks are never returned to the OS without HXCPP_GC_MOVING #69

Closed

Description

@dimensionscape

releaseEmptyGroups only runs in moving GC builds, so a default build keeps every block it ever allocated, and Gc.compact amounts to repeated major collections. A long-running process that peaks once holds that memory for good. Gc.compact also counts bytes in int, which truncates above 2 GiB.

Activity

  1. added 2 commits that reference this issue on Oct 15, 2026
    f39be27
    fd546d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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