Skip to content

Fix NIF registration: nif_vips_tracked_get_mem_highwater bound to wrong function - #216

Merged
akash-akya merged 1 commit into
akash-akya:masterfrom
hlindset:fix-nif-tracked-mem-highwater-registration
Jun 24, 2026
Merged

Fix NIF registration: nif_vips_tracked_get_mem_highwater bound to wrong function#216
akash-akya merged 1 commit into
akash-akya:masterfrom
hlindset:fix-nif-tracked-mem-highwater-registration

Conversation

@hlindset

@hlindset hlindset commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Encountered this while doing some benchmarking.

Fixes tracked_get_mem_highwater/0 to call the correct NIF function so it returns peak tracked memory instead of current memory, and adds a regression assertion covering the expected highwater behavior.

Fixes #213

@akash-akya
akash-akya merged commit 574677c into akash-akya:master Jun 24, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible typo/copypaste: nif_vips_tracked_get_mem_highwater points to nif_vips_tracked_get_mem

2 participants