Java - Armazene e carregue matrizes de / para memória para disco

Eu tenho um int e float array de comprimento 220 milhões (fixo). Agora, quero armazenar / carregar essas matrizes de / para a memória e o disco. Atualmente, estou usando o FileChannel e MappedByteBuffer do Java NIO para resolver isso. Funciona bem, mas demora cerca de 5 segundos (Tempo de Relógio da Parede) para armazenar / carregar o array de / para a memória para o disco. Na verdade, quero um mais rápido. Alguém pode me ajudar, existe alguma biblioteca java / banco de dados embutido / qualquer outra abordagem para fazer o upload / armazenamento de matrizes muito mais rápido? Eu me importo especialmente com o upload para a memória do disco. Eu quero fazer isso mais rápido. Então, se o tempo de armazenamento aumentar, eu não tenho problema. Desde já, obrigado.

O código que estou usando é dado abaixo (se necessário):

int savenum = 220000000 ;

public void save() {
 try {
    long l = 0 ;
FileChannel channel = new RandomAccessFile(str1, "rw").getChannel();
MappedByteBuffer mbb = channel.map(FileChannel.MapMode.READ_WRITE, 0, savenum * 8);
mbb.order(ByteOrder.nativeOrder());

for(int i = 0 ; i < savenum ; i++){
l = a[i] ;
 mbb.putLong(l);
}
channel.close();

FileChannel channel1 = new RandomAccessFile(str2, "rw").getChannel();
MappedByteBuffer mbb1 = channel1.map(FileChannel.MapMode.READ_WRITE, 0, savenum * 4);
mbb1.order(ByteOrder.nativeOrder());

for(int i = 0 ; i < savenum ; i++){
 int ll = b[i] ;
 mbb1.putInt(ll);
 }
 channel1.close();
 }
  catch (Exception e){
    System.out.println("IOException : " + e);
  }
 }

 public void load(){
 try{
 FileChannel channel2 = new RandomAccessFile(str1, "r").getChannel();
  MappedByteBuffer mbb2 = channel2.map(FileChannel.MapMode.READ_ONLY, 0, channel2.size());
 mbb2.order(ByteOrder.nativeOrder());
  assert mbb2.remaining() == savenum * 8;
 for (int i = 0; i < savenum; i++) {
 long l = mbb2.getLong();
 a[i] = l ;
 }
 channel2.close();

  FileChannel channel3 = new RandomAccessFile(str2, "r").getChannel();
   MappedByteBuffer mbb3 = channel3.map(FileChannel.MapMode.READ_ONLY, 0, channel3.size());
   mbb3.order(ByteOrder.nativeOrder());
   assert mbb3.remaining() == savenum * 4;
    for (int i = 0; i < savenum; i++) {
    int l1 = mbb3.getInt();
    b[i] = l1 ;
    }
    channel3.close();
    }

    catch(Exception e){
    System.out.println(e) ;
      }
    }

questionAnswers(1)

yourAnswerToTheQuestion