public static void main(String[] args) throws Exception {
int cacheSize = 100*1024*1024;
// belowLimit(cacheSize, new NoopCacheSupervisor());
// aboveLimit(cacheSize, new NoopCacheSupervisor());
belowLimit(cacheSize, new SimpleCacheSupervisor());
aboveLimit(cacheSize, new SimpleCacheSupervisor());
//
// Thread last = null;
//
// for (int i = 0; i < 10; i++) {