This discussion is archived
5 Replies Latest reply: Nov 5, 2013 4:31 AM by 818d78e2-767b-4e0a-b074-05127d3b8c4f RSS

-XX:+PageAlignDirectMemory option

818d78e2-767b-4e0a-b074-05127d3b8c4f Newbie
Currently Being Moderated

According to Java SE 7 Features and Enhancements you can add the "-XX:+PageAlignDirectMemory" option to the java command line to force directly-allocated ByteBuffers to be page aligned.


When I try and use the option, however, I get an error: Unrecognized VM option 'PageAlignDirectMemory'

This is using JDK version 1.7.0_25 on 64-bit Linux.


Anyone else get the same problem?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points