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

memory leak audit #55

Open
16 of 30 tasks
bookshelfdave opened this issue Mar 4, 2014 · 7 comments
Open
16 of 30 tasks

memory leak audit #55

bookshelfdave opened this issue Mar 4, 2014 · 7 comments
Labels

Comments

@bookshelfdave
Copy link
Contributor

Messages:

  • riak_get
  • riak_delete
  • riak_ping
  • riak_put
  • riak_2index
  • riak_get_bucketprops
  • riak_mapreduce
  • riak_search
  • riak_get_clientid
  • riak_serverinfo
  • riak_error
  • riak_listbuckets
  • riak_set_bucketprops
  • riak_listkeys
  • riak_reset_bucketprops
  • riak_set_clientid

General:

  • riak_object
  • riak_binary
  • riak_connection
  • riak_log_config
  • riak_types
  • riak
  • riak_bucketprops
  • riak_error
  • riak_messages
  • riak_operation
  • riak_async
  • riak_config
  • riak_log
  • riak_network
@hazen
Copy link

hazen commented Mar 4, 2014

Is this a hand job or did you have an automated tool in mind?

@bookshelfdave
Copy link
Contributor Author

🐟

@bookshelfdave
Copy link
Contributor Author

I have a couple ideas, maybe we can discuss tomorrow. I liked @bkerley's idea to check Valgrind output automatically. As a first pass, we should check for riak_free's vs riak_binary_free's.

@hazen
Copy link

hazen commented Mar 5, 2014

Yes, I also have a couple of ideas. We should figure out what we want to run Valgrind on, too.

@bookshelfdave
Copy link
Contributor Author

See: #59

@bookshelfdave
Copy link
Contributor Author

@javajolt I don't see where operation specific requests are being freed outside of riak_operation_free .

For example, what takes care of freeing this binary?
https://github.com/basho/riak-c-client/blob/develop/src/internal/messages/riak_set_clientid-internal.h#L26

@bookshelfdave
Copy link
Contributor Author

Messages with custom requests:

  • set client id
  • set bucketprops
  • get bucketprops
  • reset bucketprops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants