-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mem leak #143
Comments
Please share the code or steps to reproduce the issue. |
I have a backend linux process that has been getting sigkill by the kernel for memory (much to my surprise). This is a repeated issue. As such, I've been prompted to shoehorn my linux process into a signed MacOS binary so that I can profile with the nice tools on that platform. I came into the profile test fully expecting my binary target to have a leak (as I'm using Unmanaged and a lot of other stuff)....but the verdict is clear, yyjson is the leaker. See column right, according to my tools and application context, the leak is squarely in this There may be other leaks but this is the one I'm hitting in my application, now on MacOS and Linux. |
update: upon further inspection, the leak here was my responsibility. so I have no evidence to contribute towards a memory leak in yyjson. the yyjson header documentation made it clear how I needed to handle this memory and I failed to stay in line. |
Describe the bug
we found our app is leaked out ,we use heaptrack to catch yyjson file exists leak mem
Your environment
Additional context
if you want to know more , i will give you the stack traces logs
The text was updated successfully, but these errors were encountered: