{"action":"created","issue":{"url":"https://api.github.com/repos/PrismTech/opensplice/issues/27","repository_url":"https://api.github.com/repos/PrismTech/opensplice","labels_url":"https://api.github.com/repos/PrismTech/opensplice/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/PrismTech/opensplice/issues/27/comments","events_url":"https://api.github.com/repos/PrismTech/opensplice/issues/27/events","html_url":"https://github.com/PrismTech/opensplice/issues/27","id":159783125,"number":27,"title":"Apparent memory leak","user":{"login":"gerkey","id":1188842,"avatar_url":"https://avatars2.githubusercontent.com/u/1188842?v=3","gravatar_id":"","url":"https://api.github.com/users/gerkey","html_url":"https://github.com/gerkey","followers_url":"https://api.github.com/users/gerkey/followers","following_url":"https://api.github.com/users/gerkey/following{/other_user}","gists_url":"https://api.github.com/users/gerkey/gists{/gist_id}","starred_url":"https://api.github.com/users/gerkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerkey/subscriptions","organizations_url":"https://api.github.com/users/gerkey/orgs","repos_url":"https://api.github.com/users/gerkey/repos","events_url":"https://api.github.com/users/gerkey/events{/privacy}","received_events_url":"https://api.github.com/users/gerkey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-06-11T17:11:11Z","updated_at":"2017-05-24T13:13:09Z","closed_at":null,"body":"I'm trying to track down some thread and memory leakage when using OpenSplice. I've boiled my example program down to to the following:\n\n```\n#include \"ccpp_dds_dcps.h\"\n\nusing namespace DDS;\n\nint\nmain(void)\n{\n  DomainId_t domain = DOMAIN_ID_DEFAULT;\n  DomainParticipantFactory_var dpf = DomainParticipantFactory::get_instance();\n\n  while (true)\n  {\n    DomainParticipant_var participant = dpf->create_participant(domain, PARTICIPANT_QOS_DEFAULT, NULL,\n      STATUS_MASK_NONE);\n    dpf->delete_participant(participant);\n  }\n\n  return 0;\n}\n```\n\nWhen built against OpenSplice 6.4 on Linux, that program demonstrates constantly increasing and unbounded memory consumption. What am I doing wrong here? Is this use case (repeated creation and destruction of a participant) not supported? Do I need to configure the garbage collector?\n"},"comment":{"url":"https://api.github.com/repos/PrismTech/opensplice/issues/comments/303719465","html_url":"https://github.com/PrismTech/opensplice/issues/27#issuecomment-303719465","issue_url":"https://api.github.com/repos/PrismTech/opensplice/issues/27","id":303719465,"user":{"login":"supercjb","id":21041135,"avatar_url":"https://avatars0.githubusercontent.com/u/21041135?v=3","gravatar_id":"","url":"https://api.github.com/users/supercjb","html_url":"https://github.com/supercjb","followers_url":"https://api.github.com/users/supercjb/followers","following_url":"https://api.github.com/users/supercjb/following{/other_user}","gists_url":"https://api.github.com/users/supercjb/gists{/gist_id}","starred_url":"https://api.github.com/users/supercjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supercjb/subscriptions","organizations_url":"https://api.github.com/users/supercjb/orgs","repos_url":"https://api.github.com/users/supercjb/repos","events_url":"https://api.github.com/users/supercjb/events{/privacy}","received_events_url":"https://api.github.com/users/supercjb/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T13:13:09Z","updated_at":"2017-05-24T13:13:09Z","body":"sounds nice!\r\n"}}
{"actor":{"display_login":"supercjb"}}