Is it possible to memory-map huge files (multiple GBs) in Java?
This method of FileChannel looks promising:
MappedByteBuffer map(FileChannel.MapMode mode, long position, long size)
Both position and size allow for 64-bit values -- so far, so good.
MappedByteBuffer, however, only provides methods for 32-bit positions (get(int index), position(int newPosition), etc.), which seems to imply that I cannot map files larger than 2 GB.
How can I get around this limitation?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)