Skip to content

Getting VIPS_LEAK output #149

Answered by kipcole9
kipcole9 asked this question in Q&A
Discussion options

You must be logged in to vote

@akash-akya, that's extremely kind of you and I'm sorry to cause more work for you on something that probably only I care about. I will give it a spin. I'm still not sure why VIPS_LEAK=1 ...... doesn't trigger this but it's time to move on.

I was looking at the libvips code and I see

size_t
vips_tracked_get_mem_highwater(void)

size_t
vips_tracked_get_mem(void)

That would be great to have those as NIF calls if it's at all possible because then I can graph memory usage over time in a Livebook. What do you think?

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kipcole9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants