{"action":"created","issue":{"url":"https://api.github.com/repos/pcraster/pcraster/issues/233","repository_url":"https://api.github.com/repos/pcraster/pcraster","labels_url":"https://api.github.com/repos/pcraster/pcraster/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/pcraster/pcraster/issues/233/comments","events_url":"https://api.github.com/repos/pcraster/pcraster/issues/233/events","html_url":"https://github.com/pcraster/pcraster/issues/233","id":381991669,"node_id":"MDU6SXNzdWUzODE5OTE2Njk=","number":233,"title":"memory leak in pcr2numpy","user":{"login":"visr","id":4471859,"node_id":"MDQ6VXNlcjQ0NzE4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4471859?v=4","gravatar_id":"","url":"https://api.github.com/users/visr","html_url":"https://github.com/visr","followers_url":"https://api.github.com/users/visr/followers","following_url":"https://api.github.com/users/visr/following{/other_user}","gists_url":"https://api.github.com/users/visr/gists{/gist_id}","starred_url":"https://api.github.com/users/visr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visr/subscriptions","organizations_url":"https://api.github.com/users/visr/orgs","repos_url":"https://api.github.com/users/visr/repos","events_url":"https://api.github.com/users/visr/events{/privacy}","received_events_url":"https://api.github.com/users/visr/received_events","type":"User","site_admin":false},"labels":[{"id":230716276,"node_id":"MDU6TGFiZWwyMzA3MTYyNzY=","url":"https://api.github.com/repos/pcraster/pcraster/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"OliverSchmitz","id":10530968,"node_id":"MDQ6VXNlcjEwNTMwOTY4","avatar_url":"https://avatars1.githubusercontent.com/u/10530968?v=4","gravatar_id":"","url":"https://api.github.com/users/OliverSchmitz","html_url":"https://github.com/OliverSchmitz","followers_url":"https://api.github.com/users/OliverSchmitz/followers","following_url":"https://api.github.com/users/OliverSchmitz/following{/other_user}","gists_url":"https://api.github.com/users/OliverSchmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverSchmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverSchmitz/subscriptions","organizations_url":"https://api.github.com/users/OliverSchmitz/orgs","repos_url":"https://api.github.com/users/OliverSchmitz/repos","events_url":"https://api.github.com/users/OliverSchmitz/events{/privacy}","received_events_url":"https://api.github.com/users/OliverSchmitz/received_events","type":"User","site_admin":false},"assignees":[{"login":"OliverSchmitz","id":10530968,"node_id":"MDQ6VXNlcjEwNTMwOTY4","avatar_url":"https://avatars1.githubusercontent.com/u/10530968?v=4","gravatar_id":"","url":"https://api.github.com/users/OliverSchmitz","html_url":"https://github.com/OliverSchmitz","followers_url":"https://api.github.com/users/OliverSchmitz/followers","following_url":"https://api.github.com/users/OliverSchmitz/following{/other_user}","gists_url":"https://api.github.com/users/OliverSchmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverSchmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverSchmitz/subscriptions","organizations_url":"https://api.github.com/users/OliverSchmitz/orgs","repos_url":"https://api.github.com/users/OliverSchmitz/repos","events_url":"https://api.github.com/users/OliverSchmitz/events{/privacy}","received_events_url":"https://api.github.com/users/OliverSchmitz/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pcraster/pcraster/milestones/4","html_url":"https://github.com/pcraster/pcraster/milestone/4","labels_url":"https://api.github.com/repos/pcraster/pcraster/milestones/4/labels","id":3812887,"node_id":"MDk6TWlsZXN0b25lMzgxMjg4Nw==","number":4,"title":"PCRaster 4.2.1","description":"","creator":{"login":"OliverSchmitz","id":10530968,"node_id":"MDQ6VXNlcjEwNTMwOTY4","avatar_url":"https://avatars1.githubusercontent.com/u/10530968?v=4","gravatar_id":"","url":"https://api.github.com/users/OliverSchmitz","html_url":"https://github.com/OliverSchmitz","followers_url":"https://api.github.com/users/OliverSchmitz/followers","following_url":"https://api.github.com/users/OliverSchmitz/following{/other_user}","gists_url":"https://api.github.com/users/OliverSchmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverSchmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverSchmitz/subscriptions","organizations_url":"https://api.github.com/users/OliverSchmitz/orgs","repos_url":"https://api.github.com/users/OliverSchmitz/repos","events_url":"https://api.github.com/users/OliverSchmitz/events{/privacy}","received_events_url":"https://api.github.com/users/OliverSchmitz/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2018-11-12T07:58:44Z","updated_at":"2018-12-13T14:21:40Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-11-18T19:29:55Z","updated_at":"2018-12-14T10:49:34Z","closed_at":"2018-12-13T14:21:40Z","author_association":"NONE","body":"In the 4.2.0 release the snippet below blows up very quickly taking all the memory. In 4.1.0 it keeps the memory at a low constant value.\r\n\r\n```python\r\nimport pcraster as pcr\r\ndem = pcr.readmap(\"dem.map\")\r\nwhile True:\r\n    pcr.pcr2numpy(dem, 0)\r\n```\r\n\r\n`dem.map` in this case is a 1 MB Float32 map.\r\n\r\nI came to this after trying to find why memory use kept increasing significantly every timestep in a wflow run using 4.2.0, whereas this was stable in 4.1.0."},"comment":{"url":"https://api.github.com/repos/pcraster/pcraster/issues/comments/447288814","html_url":"https://github.com/pcraster/pcraster/issues/233#issuecomment-447288814","issue_url":"https://api.github.com/repos/pcraster/pcraster/issues/233","id":447288814,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzI4ODgxNA==","user":{"login":"visr","id":4471859,"node_id":"MDQ6VXNlcjQ0NzE4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4471859?v=4","gravatar_id":"","url":"https://api.github.com/users/visr","html_url":"https://github.com/visr","followers_url":"https://api.github.com/users/visr/followers","following_url":"https://api.github.com/users/visr/following{/other_user}","gists_url":"https://api.github.com/users/visr/gists{/gist_id}","starred_url":"https://api.github.com/users/visr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visr/subscriptions","organizations_url":"https://api.github.com/users/visr/orgs","repos_url":"https://api.github.com/users/visr/repos","events_url":"https://api.github.com/users/visr/events{/privacy}","received_events_url":"https://api.github.com/users/visr/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T10:49:34Z","updated_at":"2018-12-14T10:49:34Z","author_association":"NONE","body":"I just tried the 4.2.1 binary from http://pcraster.geo.uu.nl/downloads/latest-release/, and it works like a charm.\r\nThanks!"}}
{"actor":{"display_login":"visr"}}