Skip to content
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

Valgrind with OFP #263

Open
Neetika02 opened this issue Oct 13, 2020 · 1 comment
Open

Valgrind with OFP #263

Neetika02 opened this issue Oct 13, 2020 · 1 comment

Comments

@Neetika02
Copy link

Hello,
We have made our application over OFP and would like to know if OFP supports valgrind or any other memory profiling tools?
Are there any changes needed for doing memory profiling with OFP.

Regards,
Neetika

@bogdanPricope
Copy link
Contributor

Valgrind works fine.
FYI, next version on NFP (my version of OFP https://github.com/NetInoSoftware/nfp ) will have (virtually) all information allocated from shared memory at startup. On a graceful termination of the application you should have almost no leaks (there are some leaks on odp side).

==9813== LEAK SUMMARY:
==9813== definitely lost: 0 bytes in 0 blocks
==9813== indirectly lost: 0 bytes in 0 blocks
==9813== possibly lost: 640 bytes in 2 blocks
==9813== still reachable: 1,025,986 bytes in 339 blocks
==9813== suppressed: 0 bytes in 0 blocks

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

No branches or pull requests

2 participants