{"action":"created","issue":{"url":"https://api.github.com/repos/cwsmith/phastaChef/issues/5","labels_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/5/comments","events_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/5/events","html_url":"https://github.com/cwsmith/phastaChef/issues/5","id":94787259,"number":5,"title":"fix memory leaks","user":{"login":"cwsmith","id":1024438,"avatar_url":"https://avatars.githubusercontent.com/u/1024438?v=3","gravatar_id":"","url":"https://api.github.com/users/cwsmith","html_url":"https://github.com/cwsmith","followers_url":"https://api.github.com/users/cwsmith/followers","following_url":"https://api.github.com/users/cwsmith/following{/other_user}","gists_url":"https://api.github.com/users/cwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwsmith/subscriptions","organizations_url":"https://api.github.com/users/cwsmith/orgs","repos_url":"https://api.github.com/users/cwsmith/repos","events_url":"https://api.github.com/users/cwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cwsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cwsmith","id":1024438,"avatar_url":"https://avatars.githubusercontent.com/u/1024438?v=3","gravatar_id":"","url":"https://api.github.com/users/cwsmith","html_url":"https://github.com/cwsmith","followers_url":"https://api.github.com/users/cwsmith/followers","following_url":"https://api.github.com/users/cwsmith/following{/other_user}","gists_url":"https://api.github.com/users/cwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwsmith/subscriptions","organizations_url":"https://api.github.com/users/cwsmith/orgs","repos_url":"https://api.github.com/users/cwsmith/repos","events_url":"https://api.github.com/users/cwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cwsmith/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-13T18:57:55Z","updated_at":"2015-07-13T19:59:00Z","closed_at":null,"body":"`valgrind --leak-check=full phastaIC.exe` on the incompressible test case reports the following (there is more).\r\n\r\n     ==16347== 30,128 bytes in 28 blocks are definitely lost in loss record 57 of 64\r\n     ==16347==    at 0x4C29F90: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)\r\n     ==16347==    by 0x53A965F: MPID_Dataloop_alloc_and_copy (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpi.so.12.0.2)\r\n     ==16347==    by 0x53ADD89: MPID_Dataloop_create_vector (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpi.so.12.0.2)\r\n     ==16347==    by 0x53AA7AD: MPID_Dataloop_create (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpi.so.12.0.2)\r\n     ==16347==    by 0x53B9903: MPID_Type_commit (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpi.so.12.0.2)\r\n     ==16347==    by 0x52F8E0E: MPIR_Type_commit_impl (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpi.so.12.0.2)\r\n     ==16347==    by 0x52F8FA6: PMPI_Type_commit (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpi.so.12.0.2)\r\n     ==16347==    by 0x5B0F078: mpi_type_commit (in /home/cwsmith/sysSoftware/mpich/3.1.2/installGcc/lib/libmpifort.so.12.0.2)\r\n     ==16347==    by 0x49599A: ctypes_ (in /home/cwsmith/develop/streamInMem/build/phasta/bin/phastaIC.exe)\r\n     ==16347==    by 0x45B115: readnblk_ (in /home/cwsmith/develop/streamInMem/build/phasta/bin/phastaIC.exe)\r\n     ==16347==    by 0x434FAD: input_ (in /home/cwsmith/develop/streamInMem/build/phasta/bin/phastaIC.exe)\r\n     ==16347==    by 0x4180C8: phasta (phasta.cc:154)\r\n     ==16347== \r\n     ==16347== LEAK SUMMARY:\r\n     ==16347==    definitely lost: 85,672 bytes in 127 blocks\r\n     ==16347==    indirectly lost: 0 bytes in 0 blocks\r\n     ==16347==      possibly lost: 0 bytes in 0 blocks\r\n     ==16347==    still reachable: 11,841,064 bytes in 326 blocks\r\n     ==16347==         suppressed: 0 bytes in 0 blocks\r\n     ==16347== Reachable blocks (those to which a pointer was found) are not shown.\r\n     ==16347== To see them, rerun with: --leak-check=full --show-leak-kinds=all\r\n"},"comment":{"url":"https://api.github.com/repos/cwsmith/phastaChef/issues/comments/121037883","html_url":"https://github.com/cwsmith/phastaChef/issues/5#issuecomment-121037883","issue_url":"https://api.github.com/repos/cwsmith/phastaChef/issues/5","id":121037883,"user":{"login":"cwsmith","id":1024438,"avatar_url":"https://avatars.githubusercontent.com/u/1024438?v=3","gravatar_id":"","url":"https://api.github.com/users/cwsmith","html_url":"https://github.com/cwsmith","followers_url":"https://api.github.com/users/cwsmith/followers","following_url":"https://api.github.com/users/cwsmith/following{/other_user}","gists_url":"https://api.github.com/users/cwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwsmith/subscriptions","organizations_url":"https://api.github.com/users/cwsmith/orgs","repos_url":"https://api.github.com/users/cwsmith/repos","events_url":"https://api.github.com/users/cwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cwsmith/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T19:59:00Z","updated_at":"2015-07-13T19:59:00Z","body":"fixed in cwsmith/phasta@fcc77cc25a25962bc726a1f800ed09df73e616e1"}}