The upper limit should be the amount of memory available on the user's PC, not max int. 