private static void setHashingThreadsCount() { Torrent.setHashingThreadsCount(2); // limit number of threads generating hashes for a file }