{"action":"opened","issue":{"url":"https://api.github.com/repos/zrlio/crail/issues/47","repository_url":"https://api.github.com/repos/zrlio/crail","labels_url":"https://api.github.com/repos/zrlio/crail/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/zrlio/crail/issues/47/comments","events_url":"https://api.github.com/repos/zrlio/crail/issues/47/events","html_url":"https://github.com/zrlio/crail/issues/47","id":307468304,"number":47,"title":"mmap in hugetlbfs","user":{"login":"TeddyBear1314","id":16427747,"avatar_url":"https://avatars1.githubusercontent.com/u/16427747?v=4","gravatar_id":"","url":"https://api.github.com/users/TeddyBear1314","html_url":"https://github.com/TeddyBear1314","followers_url":"https://api.github.com/users/TeddyBear1314/followers","following_url":"https://api.github.com/users/TeddyBear1314/following{/other_user}","gists_url":"https://api.github.com/users/TeddyBear1314/gists{/gist_id}","starred_url":"https://api.github.com/users/TeddyBear1314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeddyBear1314/subscriptions","organizations_url":"https://api.github.com/users/TeddyBear1314/orgs","repos_url":"https://api.github.com/users/TeddyBear1314/repos","events_url":"https://api.github.com/users/TeddyBear1314/events{/privacy}","received_events_url":"https://api.github.com/users/TeddyBear1314/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T00:52:38Z","updated_at":"2018-03-22T00:52:38Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI read the code of crail and found it supports hugetlbfs, I perform some experiments on hugetlbfs(not associated with crail).my question is we use the MappedByteBuffer which mapped from a file in hugetlbfs and never unmap it, it says GC will take care of it, but the fact is sometimes I run to this error:\r\n`java.lang.Error: Cleaner terminated abnormally\r\n\tat sun.misc.Cleaner$1.run(Cleaner.java:147)\r\n\tat sun.misc.Cleaner$1.run(Cleaner.java:144)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat sun.misc.Cleaner.clean(Cleaner.java:144)\r\n\tat java.lang.ref.Reference$ReferenceHandler.run(Reference.java:141)\r\nCaused by: java.io.IOException: Invalid argument\r\n\tat sun.nio.ch.FileChannelImpl.unmap0(Native Method)\r\n\tat sun.nio.ch.FileChannelImpl.access$000(FileChannelImpl.java:40)\r\n\tat sun.nio.ch.FileChannelImpl$Unmapper.run(FileChannelImpl.java:787)\r\n\tat sun.misc.Cleaner.clean(Cleaner.java:142)`\r\nCan anyone give me some hints?I am not very familiar with hugetlbfs."}}
{"actor":{"display_login":"TeddyBear1314"}}