Single process in-memory prime hunter