Skip to content

[REQ] Tracking memory allocations #1269

Closed

Description

@Guirec-Maloisel

Description

In a complex program built with warp, with arrays being stored in multiple classes, and some of them being "true" arrays while others are zero-copy views, it can become complicated to keep track of all memory allocations and understand where the memory usage comes from. A great addition would be a debugging tool that tells you what arrays are currently allocated at a given point, and with what size.

Context

I was seeing unexpectedly high memory consumption when profiling my code, and after inspecting the more obvious suspects I was still missing some memory. I could try an experimental version of that feature, and it pointed me directly to the allocations I hadn't been accounting for, so that was very helpful.

Activity

  1. self-assigned this
    on Mar 5, 2026
  2. added this to the 1.13.0 milestone on Mar 5, 2026
  3. shi-eric commented on Apr 17, 2026

    @shi-eric
    Contributor

    This has been merged in 26bc6ea and will be a part of the next nightly build and the next Warp release at the start of May.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature requestRequest for something to be added

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions