{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1342","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1342/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1342/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1342/events","html_url":"https://github.com/realm/realm-java/issues/1342","id":98700421,"number":1342,"title":"Timeout on Context.finalize()","user":{"login":"HPIWicket","id":2896048,"avatar_url":"https://avatars.githubusercontent.com/u/2896048?v=3","gravatar_id":"","url":"https://api.github.com/users/HPIWicket","html_url":"https://github.com/HPIWicket","followers_url":"https://api.github.com/users/HPIWicket/followers","following_url":"https://api.github.com/users/HPIWicket/following{/other_user}","gists_url":"https://api.github.com/users/HPIWicket/gists{/gist_id}","starred_url":"https://api.github.com/users/HPIWicket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HPIWicket/subscriptions","organizations_url":"https://api.github.com/users/HPIWicket/orgs","repos_url":"https://api.github.com/users/HPIWicket/repos","events_url":"https://api.github.com/users/HPIWicket/events{/privacy}","received_events_url":"https://api.github.com/users/HPIWicket/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/realm/realm-java/labels/Pending","name":"Pending","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-08-03T08:56:24Z","updated_at":"2015-08-24T13:52:28Z","closed_at":"2015-08-24T13:52:28Z","body":"Hey,\r\n\r\nwe started seeing following error with the update to Realm 0.82.0:\r\n```\r\njava.util.concurrent.TimeoutException: io.realm.internal.Context.finalize() timed out after 10 seconds\r\n       at java.lang.Object.equals(Object.java:205)\r\n       at java.util.ArrayList.remove(ArrayList.java:418)\r\n       at io.realm.internal.Context.cleanRows(Context.java:69)\r\n       at io.realm.internal.Context.executeDelayedDisposal(Context.java:61)\r\n       at io.realm.internal.Context.finalize(Context.java:113)\r\n       at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:209)\r\n       at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:192)\r\n       at java.lang.Thread.run(Thread.java:818)\r\n```\r\nWe also see some longer access times to the Realm after we added some \"realm.clear(RealmObject.class)\" calls.\r\n\r\nIs this a known issue or is there a better way to clear a whole table? "},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/134210008","html_url":"https://github.com/realm/realm-java/issues/1342#issuecomment-134210008","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1342","id":134210008,"user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T13:52:28Z","updated_at":"2015-08-24T13:52:28Z","body":"Closing as we have no further indication that this should not be solved by the above PR."}}