And for note, the memory used for finding 10k primes in mine does not exceed 1.2 megs by the end with just under 300 page faults. For finding 100k primes in mine it did not exceed 6 megs by the end with just under 1200 page faults.