public static void main(final String[] args) {
try {
final File file = new File("runtime/3gb.bin");
file.delete();
final MainWrite3GByteFileOutputStreamMapped main = new MainWrite3GByteFileOutputStreamMapped();
final OutputStream outputStream = new FileOutputStreamMapped(file,
1024 * 1024);
System.out.println("write duration " + main.write(outputStream)
+ " mS");// NOPMD
} catch (Exception exception) {
exception.printStackTrace();// NOPMD