package net.kotek.jdbm.junk;

import net.kotek.jdbm.DB;
import net.kotek.jdbm.DBMaker;

import java.io.File;
import java.io.IOException;
import java.util.List;

/**
 * Creates huge file
 */
public class HugeData {

    static public void main(String[] args) throws IOException, InterruptedException {

        long startTime = System.currentTimeMillis();
        new File("/tmp/large/").mkdirs();
        DB db = new DBMaker("/tmp/large/db" + Math.random())
                .disableTransactions()
                .enableMRUCache()
                .build();

//        Map<Long,Integer> map = db.createHashMap("test");
        List<Long> test = db.createLinkedList("test");

        for (Long i = 1L; i < 1e10; i++) {
            if (i % 1e6 == 0) {
                System.out.println(i);
                //Thread.sleep(1000000);
            }
            test.add(i);
//            map.put(i,i.hashCode());
        }

        db.close();

        System.out.println("Finished, total time: " + (System.currentTimeMillis() - startTime) / 1000);
    }
}

package net.kotek.jdbm.junk;

import net.kotek.jdbm.DB;
import net.kotek.jdbm.DBMaker;

import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * Creates huge file
 */
public class HugeData {

    static public void main(String[] args) throws IOException, InterruptedException {

        long startTime = System.currentTimeMillis();
        new File("/hugo/large/").mkdirs();
        DB db = new DBMaker("/hugo/large/db" + Math.random())
                .disableTransactions()
                .enableMRUCache()
                .build();

        Map<Long,Integer> map = db.createHashMap("test");
//        List<Long> test = db.createLinkedList("test");

        for (Long i = 1L; i < 1e10; i++) {
            if (i % 1e6 == 0) {
                System.out.println(i);
                //Thread.sleep(1000000);
            }
//            test.add(i);
            map.put(i,i.hashCode());
        }

        db.close();

        System.out.println("Finished, total time: " + (System.currentTimeMillis() - startTime) / 1000);
    }
}

Update some junk test