{"action":"created","issue":{"url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers/issues/70","repository_url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers","labels_url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers/issues/70/comments","events_url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers/issues/70/events","html_url":"https://github.com/usnistgov/REFPROP-wrappers/issues/70","id":368299913,"node_id":"MDU6SXNzdWUzNjgyOTk5MTM=","number":70,"title":"Apparent memory leak when using the LabVIEW Wrapper in Windows 7","user":{"login":"P-Erickson","id":44000073,"node_id":"MDQ6VXNlcjQ0MDAwMDcz","avatar_url":"https://avatars1.githubusercontent.com/u/44000073?v=4","gravatar_id":"","url":"https://api.github.com/users/P-Erickson","html_url":"https://github.com/P-Erickson","followers_url":"https://api.github.com/users/P-Erickson/followers","following_url":"https://api.github.com/users/P-Erickson/following{/other_user}","gists_url":"https://api.github.com/users/P-Erickson/gists{/gist_id}","starred_url":"https://api.github.com/users/P-Erickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P-Erickson/subscriptions","organizations_url":"https://api.github.com/users/P-Erickson/orgs","repos_url":"https://api.github.com/users/P-Erickson/repos","events_url":"https://api.github.com/users/P-Erickson/events{/privacy}","received_events_url":"https://api.github.com/users/P-Erickson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-10-09T16:40:57Z","updated_at":"2018-12-17T22:16:20Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nI have developed an application that allows the use of the REFPROPdll in live data processing using LabVIEW.  The implementation allows for continuous calling of the dll at rates between 4 and 10Hz and has functioned with previous versions of REFPROP without issue.  However with the most recent release, the code will cause a crash of the LabVIEW environment (complete crash, not just a termination of the VI calling the dll) after a period of 8 and 12 hours consistently.  The error reporting generated during the crash is inconsistent, however generally points towards behavior that would be expected with a memory leak.  The implementation of the Call Library Function Node has been configured identically to the examples provided with the LabVIEW wrappers and based on my previous programming experience appears to be correct, with proper initialization of memory points and arrays.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Call the REFPROPdll using the Call Library Function Node in LabVIEW\r\n2. Repeat at a rate of 4Hz continuously for a period of 8+ hours.\r\n\r\n**Expected behavior:** When I have performed similar calls to previous versions of the REFPROP functions (PDFLSH,TPFLSH,SATT, ect.) I have been able to execute the code in this manner without issue.  Performance of the dll appears to work as expected, calculation results match the values generated independently in Excel, and execution speed appears reasonable.  On initial execution, the code appears to be behaving as expected.\r\n\r\n**Actual behavior:** After a period of executing for 8 or more hours, LabVIEW will crash and close completely.  Generating an error report using the build in NI Error Reporting server.  No errors are reported by LabVIEW, my application or the REFPROPdll prior to the crash.  The crash only occurs while the REFPROPdll is being called.\r\n\r\n### Versions\r\n\r\n**REFPROP Version:** 10\r\n**Operating System and Version:** Windows 7\r\n**Access Method:** Call Library Function Node in LabVIEW\r\n"},"comment":{"url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers/issues/comments/448019563","html_url":"https://github.com/usnistgov/REFPROP-wrappers/issues/70#issuecomment-448019563","issue_url":"https://api.github.com/repos/usnistgov/REFPROP-wrappers/issues/70","id":448019563,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODAxOTU2Mw==","user":{"login":"ianhbell","id":11966765,"node_id":"MDQ6VXNlcjExOTY2NzY1","avatar_url":"https://avatars3.githubusercontent.com/u/11966765?v=4","gravatar_id":"","url":"https://api.github.com/users/ianhbell","html_url":"https://github.com/ianhbell","followers_url":"https://api.github.com/users/ianhbell/followers","following_url":"https://api.github.com/users/ianhbell/following{/other_user}","gists_url":"https://api.github.com/users/ianhbell/gists{/gist_id}","starred_url":"https://api.github.com/users/ianhbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianhbell/subscriptions","organizations_url":"https://api.github.com/users/ianhbell/orgs","repos_url":"https://api.github.com/users/ianhbell/repos","events_url":"https://api.github.com/users/ianhbell/events{/privacy}","received_events_url":"https://api.github.com/users/ianhbell/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T22:16:20Z","updated_at":"2018-12-17T22:16:20Z","author_association":"CONTRIBUTOR","body":"Hopefully @damianlauria can test your code - he's got the full suite of NI tooling"}}
{"actor":{"display_login":"ianhbell"}}