Skip to content

fix: Fix memory issue when using pixi-pack --create-executable - #210

Merged
Pavel Zwerschke (pavelzw) merged 6 commits into
mainfrom
fix-memory-leak-create-executable
Sep 4, 2025
Merged

Pavel Zwerschke (pavelzw) merged 6 commits into
mainfrom
fix-memory-leak-create-executable

Conversation

@delsner

@delsner Daniel Elsner (delsner) commented Aug 29, 2025 •

Copy link
Copy Markdown
Member

@pavelzw
Pavel Zwerschke (pavelzw) marked this pull request as ready for review September 4, 2025 13:12
@pavelzw Pavel Zwerschke (pavelzw) changed the title fix: Fix memory issue when using --create-executable fix: Fix memory issue when using pixi-pack --create-executable Sep 4, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these changes make sense. tokio-tar used 1970-01-01 as the timestamps in the tar while tar uses 1153704088: https://github.com/alexcrichton/tar-rs/blob/a1c3036af48fa02437909112239f0632e4cfcfae/src/header.rs#L19-L25

since this is still reproducible among runs, this is okay

image

@pavelzw Pavel Zwerschke (pavelzw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that this only fixes the memory issues while creating the pack, not while unpacking.

@pavelzw
Pavel Zwerschke (pavelzw) deleted the fix-memory-leak-create-executable branch September 4, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants