Adjust available memory based upon the thread count
Merge pull request #718 from melissalinkert/big-image-oom

Data tests: adjust memory calculations based upon thread count