Post

Replies

Boosts

Views

Activity

Reply to memory leak in dlopen / dlcose, or user error?
Hi Quinn, thanks for your response. I can confirm that with your code, I don't see an unbounded increase in memory usage. I've made some edits, and have produced two minimal examples, based on yours, that do show unbounded memory usage. LeakTestCtor.c (attached) is a modification to your library code that adds a library constructor and destructor function. LeakTestGlobal.cpp (attached) adds a global vector. Neither are leaking. Can you reproduce the increasing memory usage? Thanks, Chris LeakTestGlobal.cpp LeakTestCtor.c
2w