{"action":"closed","issue":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/743","labels_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/743/comments","events_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/743/events","html_url":"https://github.com/pgmodeler/pgmodeler/issues/743","id":104254837,"number":743,"title":"pgModeler crashing during loading process involving relationships","user":{"login":"rkhaotix","id":2205476,"avatar_url":"https://avatars.githubusercontent.com/u/2205476?v=3","gravatar_id":"","url":"https://api.github.com/users/rkhaotix","html_url":"https://github.com/rkhaotix","followers_url":"https://api.github.com/users/rkhaotix/followers","following_url":"https://api.github.com/users/rkhaotix/following{/other_user}","gists_url":"https://api.github.com/users/rkhaotix/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhaotix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhaotix/subscriptions","organizations_url":"https://api.github.com/users/rkhaotix/orgs","repos_url":"https://api.github.com/users/rkhaotix/repos","events_url":"https://api.github.com/users/rkhaotix/events{/privacy}","received_events_url":"https://api.github.com/users/rkhaotix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/labels/fixed","name":"fixed","color":"009a00"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/milestones/20","html_url":"https://github.com/pgmodeler/pgmodeler/milestones/v0.8.2","labels_url":"https://api.github.com/repos/pgmodeler/pgmodeler/milestones/20/labels","id":1237200,"number":20,"title":"v0.8.2","description":"","creator":{"login":"rkhaotix","id":2205476,"avatar_url":"https://avatars.githubusercontent.com/u/2205476?v=3","gravatar_id":"","url":"https://api.github.com/users/rkhaotix","html_url":"https://github.com/rkhaotix","followers_url":"https://api.github.com/users/rkhaotix/followers","following_url":"https://api.github.com/users/rkhaotix/following{/other_user}","gists_url":"https://api.github.com/users/rkhaotix/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhaotix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhaotix/subscriptions","organizations_url":"https://api.github.com/users/rkhaotix/orgs","repos_url":"https://api.github.com/users/rkhaotix/repos","events_url":"https://api.github.com/users/rkhaotix/events{/privacy}","received_events_url":"https://api.github.com/users/rkhaotix/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":8,"state":"open","created_at":"2015-08-02T21:28:56Z","updated_at":"2015-11-10T11:28:39Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-01T12:29:20Z","updated_at":"2015-11-10T11:28:39Z","closed_at":"2015-11-10T11:28:39Z","body":"In a very specific case (under investigation) the relationship is marked as disconnected but the internal objects aren't destroyed. In order to avoid memory leaks we need to force the disconnection and destroy any allocated object. It seems this issues happens only during loading process but is related to relationships disconnection, mixing fk rels and 1:n rels, and the validation process.\r\n\r\nA workaround will be made in order to prevent the crashes and leaks but this issue will be carefully investigated and a proper fix made."}}