[ https://issues.apache.org/jira/browse/MNEMONIC-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120840#comment-16120840 ]
Peili SHEN commented on MNEMONIC-299: ------------------------------------- met the issue on createByteBuffer(). the returned addresses are not continuous addresses for the continuous createByteBuffer() as below, so as Gang's guided, I will try another solution. ByteBuffer buf1 = fc.map(MAP_MODE, 0L, 1024); System.err.print(getByteBufferHandler(ret, buf1)); //140431399190528 ByteBuffer buf2 = fc.map(MAP_MODE, 1024, 1024 * 10 * 1024 - 1024); System.err.print(getByteBufferHandler(ret, buf2)); //140430790362112 > implement Java based memory allocator > ------------------------------------- > > Key: MNEMONIC-299 > URL: https://issues.apache.org/jira/browse/MNEMONIC-299 > Project: Mnemonic > Issue Type: Sub-task > Components: Memory-Service > Reporter: Peili SHEN > Assignee: Peili SHEN > -- This message was sent by Atlassian JIRA (v6.4.14#64029)