{"action":"created","issue":{"url":"https://api.github.com/repos/tenpy/tenpy/issues/2","repository_url":"https://api.github.com/repos/tenpy/tenpy","labels_url":"https://api.github.com/repos/tenpy/tenpy/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tenpy/tenpy/issues/2/comments","events_url":"https://api.github.com/repos/tenpy/tenpy/issues/2/events","html_url":"https://github.com/tenpy/tenpy/issues/2","id":302726269,"number":2,"title":"Huge memory consumption in finite TEBD time evolution","user":{"login":"ErnestOng","id":37113191,"avatar_url":"https://avatars1.githubusercontent.com/u/37113191?v=4","gravatar_id":"","url":"https://api.github.com/users/ErnestOng","html_url":"https://github.com/ErnestOng","followers_url":"https://api.github.com/users/ErnestOng/followers","following_url":"https://api.github.com/users/ErnestOng/following{/other_user}","gists_url":"https://api.github.com/users/ErnestOng/gists{/gist_id}","starred_url":"https://api.github.com/users/ErnestOng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErnestOng/subscriptions","organizations_url":"https://api.github.com/users/ErnestOng/orgs","repos_url":"https://api.github.com/users/ErnestOng/repos","events_url":"https://api.github.com/users/ErnestOng/events{/privacy}","received_events_url":"https://api.github.com/users/ErnestOng/received_events","type":"User","site_admin":false},"labels":[{"id":841651791,"url":"https://api.github.com/repos/tenpy/tenpy/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"jhauschild","id":35832621,"avatar_url":"https://avatars3.githubusercontent.com/u/35832621?v=4","gravatar_id":"","url":"https://api.github.com/users/jhauschild","html_url":"https://github.com/jhauschild","followers_url":"https://api.github.com/users/jhauschild/followers","following_url":"https://api.github.com/users/jhauschild/following{/other_user}","gists_url":"https://api.github.com/users/jhauschild/gists{/gist_id}","starred_url":"https://api.github.com/users/jhauschild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhauschild/subscriptions","organizations_url":"https://api.github.com/users/jhauschild/orgs","repos_url":"https://api.github.com/users/jhauschild/repos","events_url":"https://api.github.com/users/jhauschild/events{/privacy}","received_events_url":"https://api.github.com/users/jhauschild/received_events","type":"User","site_admin":false},"assignees":[{"login":"jhauschild","id":35832621,"avatar_url":"https://avatars3.githubusercontent.com/u/35832621?v=4","gravatar_id":"","url":"https://api.github.com/users/jhauschild","html_url":"https://github.com/jhauschild","followers_url":"https://api.github.com/users/jhauschild/followers","following_url":"https://api.github.com/users/jhauschild/following{/other_user}","gists_url":"https://api.github.com/users/jhauschild/gists{/gist_id}","starred_url":"https://api.github.com/users/jhauschild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhauschild/subscriptions","organizations_url":"https://api.github.com/users/jhauschild/orgs","repos_url":"https://api.github.com/users/jhauschild/repos","events_url":"https://api.github.com/users/jhauschild/events{/privacy}","received_events_url":"https://api.github.com/users/jhauschild/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-03-06T14:39:18Z","updated_at":"2018-05-22T08:26:49Z","closed_at":"2018-05-22T08:26:49Z","author_association":"NONE","body":"The current TEBD code would end up consuming all of the available system memory after some time evolutions. The system used here is a spin chain with S=1.\r\n\r\nThe parameters for the simulation are:\r\n```\r\nchi = 70\r\nL = 200\r\ntmax = 9\r\ndt = 0.02\r\n```\r\n\r\nThe simulation grows and consumes all of the available RAM and pagefile at the point of the code:\r\n```\r\n    spectrum = np.zeros([int(tmax/dt),L-i0],dtype=complex)\r\n    eng1 = tebd.Engine(psi, M, tebd_params)\r\n    eng2 = tebd.Engine(psi_excited, M, tebd_params) #psi_excited is psi with 'Sp' applied at L//2\r\n    for n in range(int(tmax / dt_measure + 0.5)):\r\n        eng1.run()\r\n        eng2.run()\r\n        for i in range(i0+1,L,1):\r\n            psitemp = psi_excited.copy()\r\n            psitemp.apply_local_op(i, 'Sm', unitary=False)\r\n            spectrum[n,i-i0-1] = psi.overlap(psitemp)[0]\r\n```"},"comment":{"url":"https://api.github.com/repos/tenpy/tenpy/issues/comments/390906078","html_url":"https://github.com/tenpy/tenpy/issues/2#issuecomment-390906078","issue_url":"https://api.github.com/repos/tenpy/tenpy/issues/2","id":390906078,"user":{"login":"jhauschild","id":35832621,"avatar_url":"https://avatars3.githubusercontent.com/u/35832621?v=4","gravatar_id":"","url":"https://api.github.com/users/jhauschild","html_url":"https://github.com/jhauschild","followers_url":"https://api.github.com/users/jhauschild/followers","following_url":"https://api.github.com/users/jhauschild/following{/other_user}","gists_url":"https://api.github.com/users/jhauschild/gists{/gist_id}","starred_url":"https://api.github.com/users/jhauschild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhauschild/subscriptions","organizations_url":"https://api.github.com/users/jhauschild/orgs","repos_url":"https://api.github.com/users/jhauschild/repos","events_url":"https://api.github.com/users/jhauschild/events{/privacy}","received_events_url":"https://api.github.com/users/jhauschild/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T08:26:49Z","updated_at":"2018-05-22T08:26:49Z","author_association":"CONTRIBUTOR","body":"Merged the fix #3, so I close this for now. If you still have a memory leak, please open a new issue..."}}
{"actor":{"display_login":"jhauschild"}}