On 12/13/2012 08:16 PM, Christian Grün wrote:
Hi Thomas,
some years ago, we did experiments with nio that didn’t differ too much from conventional I/O, but we may have overseen issues, so your input is welcome. Note, however, that nio file channels are limited to 2GB (see e.g. [1]). As a consequence, some additional mappings will be needed if larger databases are to be opened and processed.
Hi Christian,
I think with mappings of for instance 1 or 2GBs it's even possible to map a file with several TBs (see for instance Chronicle on github). Thus in theory always allocate more than you need and then shrink to the actual needed size, if I'm not mistaken.
kind regards Johannes