{"action":"created","issue":{"url":"https://api.github.com/repos/cdcseacave/openMVS/issues/29","labels_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/29/comments","events_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/29/events","html_url":"https://github.com/cdcseacave/openMVS/issues/29","id":113298063,"number":29,"title":"Can't run ReconstructMesh on scence_dense (write(2, \"std::bad_alloc\", 14std::bad_alloc) (core dump)","user":{"login":"pyp22","id":8407357,"avatar_url":"https://avatars.githubusercontent.com/u/8407357?v=3","gravatar_id":"","url":"https://api.github.com/users/pyp22","html_url":"https://github.com/pyp22","followers_url":"https://api.github.com/users/pyp22/followers","following_url":"https://api.github.com/users/pyp22/following{/other_user}","gists_url":"https://api.github.com/users/pyp22/gists{/gist_id}","starred_url":"https://api.github.com/users/pyp22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyp22/subscriptions","organizations_url":"https://api.github.com/users/pyp22/orgs","repos_url":"https://api.github.com/users/pyp22/repos","events_url":"https://api.github.com/users/pyp22/events{/privacy}","received_events_url":"https://api.github.com/users/pyp22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T07:10:36Z","updated_at":"2015-10-26T08:51:07Z","closed_at":null,"body":"Hi guys,\r\n\r\nReconstructMesh is aborting without providing any mesh while using the dense scene. I'm thinking something dealing with ram. I tried on 2 diff. machines (16 & 32 ram) but got the same results. Here are the last strace lines:\r\n\r\nfutex(0x55c64e1e3654, FUTEX_WAIT_PRIVATE, 0, NULL) = 0\r\nfutex(0x55c64e1e0a74, FUTEX_WAKE_PRIVATE, 2147483647) = 0\r\nfutex(0x55c653e8f234, FUTEX_WAIT_PRIVATE, 0, NULL) = 0\r\nstat(\"/etc/localtime\", {st_mode=S_IFREG|0644, st_size=2971, ...}) = 0\r\nwrite(1, \"10:13:49 [App     ] Delaunay tet\"..., 10710:13:49 [App     ] Delaunay tetrahedras weighting completed: 57443595 cells, 114887190 faces (3m36s444ms)\r\n) = 107\r\nwrite(3, \"10:13:49 [App     ] Delaunay tet\"..., 107) = 107\r\nfsync(3)                                = 0\r\nmmap(NULL, 2757296128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc871f6f000\r\nmmap(NULL, 459550720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca689bd000\r\nmmap(NULL, 459550720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc85692c000\r\nmmap(NULL, 459550720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc83b2e9000\r\nmmap(NULL, 6433685504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)\r\nbrk(0x55c864426000)                     = 0x55c6e4c6c000\r\nmmap(NULL, 6433816576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)\r\nmmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7fc8332e9000\r\nmunmap(0x7fc8332e9000, 13725696)        = 0\r\nmunmap(0x7fc838000000, 53383168)        = 0\r\nmprotect(0x7fc834000000, 135168, PROT_READ|PROT_WRITE) = 0\r\nmmap(NULL, 6433685504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)\r\nfutex(0x7fcade057650, FUTEX_WAKE_PRIVATE, 2147483647) = 0\r\nwrite(2, \"terminate called after throwing \"..., 48terminate called after throwing an instance of ') = 48\r\nwrite(2, \"std::bad_alloc\", 14std::bad_alloc)          = 14\r\nwrite(2, \"'\\n\", 2'\r\n)                      = 2\r\nwrite(2, \"  what():  \", 11  what():  )             = 11\r\nwrite(2, \"std::bad_alloc\", 14std::bad_alloc)          = 14\r\nwrite(2, \"\\n\", 1\r\n)                       = 1\r\nrt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0\r\ntgkill(29537, 29537, SIGABRT)           = 0\r\n--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=29537, si_uid=0} ---\r\n+++ killed by SIGABRT (core dumped) +++\r\n\r\nregards\r\n\r\nPY\r\n"},"comment":{"url":"https://api.github.com/repos/cdcseacave/openMVS/issues/comments/151065448","html_url":"https://github.com/cdcseacave/openMVS/issues/29#issuecomment-151065448","issue_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/29","id":151065448,"user":{"login":"pyp22","id":8407357,"avatar_url":"https://avatars.githubusercontent.com/u/8407357?v=3","gravatar_id":"","url":"https://api.github.com/users/pyp22","html_url":"https://github.com/pyp22","followers_url":"https://api.github.com/users/pyp22/followers","following_url":"https://api.github.com/users/pyp22/following{/other_user}","gists_url":"https://api.github.com/users/pyp22/gists{/gist_id}","starred_url":"https://api.github.com/users/pyp22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyp22/subscriptions","organizations_url":"https://api.github.com/users/pyp22/orgs","repos_url":"https://api.github.com/users/pyp22/repos","events_url":"https://api.github.com/users/pyp22/events{/privacy}","received_events_url":"https://api.github.com/users/pyp22/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T08:51:07Z","updated_at":"2015-10-26T08:51:07Z","body":"to complete. From a dmesg:\r\n\r\ndmesg :\r\n\r\n[ 4305.647556] Out of memory: Kill process 552 (ReconstructMesh) score 947 or sacrifice child\r\n[ 4305.647567] Killed process 552 (ReconstructMesh) total-vm:6111928kB, anon-rss:5934304kB, file-rss:8kB\r\n"}}