{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11710","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11710/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11710/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11710/events","html_url":"https://github.com/JuliaLang/julia/pull/11710","id":88241884,"number":11710,"title":"Fix #11698. Only call cholmod_start when CHOLMOD module is initialized","user":{"login":"andreasnoack","id":505001,"avatar_url":"https://avatars.githubusercontent.com/u/505001?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasnoack","html_url":"https://github.com/andreasnoack","followers_url":"https://api.github.com/users/andreasnoack/followers","following_url":"https://api.github.com/users/andreasnoack/following{/other_user}","gists_url":"https://api.github.com/users/andreasnoack/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasnoack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasnoack/subscriptions","organizations_url":"https://api.github.com/users/andreasnoack/orgs","repos_url":"https://api.github.com/users/andreasnoack/repos","events_url":"https://api.github.com/users/andreasnoack/events{/privacy}","received_events_url":"https://api.github.com/users/andreasnoack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-06-14T20:15:55Z","updated_at":"2015-06-17T00:43:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11710","html_url":"https://github.com/JuliaLang/julia/pull/11710","diff_url":"https://github.com/JuliaLang/julia/pull/11710.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11710.patch"},"body":"This avoids the memory leak. In consequence, introduce global `cholmod_common` array and restrict all\r\nmethods to `SuiteSparse_long` and remove the integer type parameter in CHOLMOD and SPQR types.\r\n\r\nI don't think it is allowed to mix 32 and 64 bit integers in the same CHOLMOD session and since we only can have one CHOLMOD session we'll have to decide on a size on startup. Right now I've chosen `SuiteSparse_long`.\r\n\r\nThere is a second commit that uses gc tracked allocation functions in SuiteSparse. This makes the gc aware of the memory consumption of the objects allocated by the libraries in SuiteSparse. I couldn't find a `calloc` version of the gc tracked allocators and I don't know if this will be a problem. It appears to work fine."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/112614414","html_url":"https://github.com/JuliaLang/julia/pull/11710#issuecomment-112614414","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11710","id":112614414,"user":{"login":"andreasnoack","id":505001,"avatar_url":"https://avatars.githubusercontent.com/u/505001?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasnoack","html_url":"https://github.com/andreasnoack","followers_url":"https://api.github.com/users/andreasnoack/followers","following_url":"https://api.github.com/users/andreasnoack/following{/other_user}","gists_url":"https://api.github.com/users/andreasnoack/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasnoack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasnoack/subscriptions","organizations_url":"https://api.github.com/users/andreasnoack/orgs","repos_url":"https://api.github.com/users/andreasnoack/repos","events_url":"https://api.github.com/users/andreasnoack/events{/privacy}","received_events_url":"https://api.github.com/users/andreasnoack/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T00:43:49Z","updated_at":"2015-06-17T00:43:49Z","body":"@tkelman I've now access to a Travis machine and I'm able to reproduce the test error. Have you been able to make the test fail with `JULIA_CPU_CORES=1`? So far I've only been able to do so with `JULIA_CPU_CORES=4`."}}