-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
minor memory leak in op creation #15339
Comments
Is this the reason of #15032? Or it's another problem? |
@jczaja The return of Paddle/paddle/fluid/framework/op_registry.cc Lines 22 to 31 in a7fc3d4
|
@chengduoZH Thanks for explanation. look like my memcheck's false positive. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When working on #15032 I noticed potential memory leak when ops are created. It introduce lots of noise when analysing memory problems in Paddle. Problem seems to be that lambda assigned to creator_ is allocating memory , but I cannot find location of releasing it.
Paddle/paddle/fluid/framework/details/op_registry.h
Lines 85 to 89 in d055b1d
@reyoung , @luotao1
Please advice (explain where this memory is released) or if it is a memory leak, please consider fixing it.
The text was updated successfully, but these errors were encountered: