tag:blogger.com,1999:blog-694855878384792308.post2221482448754147657..comments2024-03-21T06:26:49.387-07:00Comments on Java67: How to Fix java.lang.OufOfMemoryError: Direct Buffer Memoryjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-694855878384792308.post-44768094765976444962016-03-17T04:52:28.783-07:002016-03-17T04:52:28.783-07:00I tried a online tool http://gceasy.io , it can re...I tried a online tool http://gceasy.io , it can read gc log.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-85643127009306314572015-08-26T14:38:26.802-07:002015-08-26T14:38:26.802-07:00Thanks, Nice write up,
According the Sun documenta...Thanks, Nice write up,<br />According the Sun documentation, the default value of -XX:MaxDirectMemorySize is 0 which means unbounded.<br />Refer http://docs.oracle.com/cd/E15289_01/doc.40/e15062/optionxx.htm#BABGCFFBDhananjayanhttps://www.blogger.com/profile/13850879659121376071noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-91021015860723679712014-06-01T14:30:09.602-07:002014-06-01T14:30:09.602-07:00I assume the author ment to say the most of the me...I assume the author ment to say the most of the memory is allocated on the native heap but the very small wrapper object is obviously allocated on the JVM heap. So it is realtivly unlikly you get OOM from the JVM heap, but that's possible as an edge caseAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-6035563155636556612014-01-22T14:40:14.536-08:002014-01-22T14:40:14.536-08:00I don't understand. First, you say that Direct...I don't understand. First, you say that Direct Buffer is not allocated into heap, but before, when an OOM happens, you say "there could be multiple reasons for that e.g. either your system doesn't have enough heap memory, "<br /><br />is right ?<br /><br />ThanksChemahttps://www.blogger.com/profile/05662680080054615106noreply@blogger.com