Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

FileChannelImpl::map() limits size to Integer.MAX_VALUE

user-s8k43Aug 1 2023

FileChannelImpl::map() limits size to Integer.MAX_VALUE that is 2 GB. This limitation we see in all java versions until 20. Is there a specific reason for this limit because in my usecase I am looking to memory map files larger than 10 GB of size. Any further details can be produced if required.

Comments
Post Details
Added on Aug 1 2023
0 comments
285 views