I have a function which generates a Java object and I want to explore
failures which only happen when processing large numbers of these object.
the real code is reading a many gigabyte file but in the test code I can
generate similar objects programmatically. I could create a small list,
parallelize it and then use flatmap to inflate it several times by a factor
of 1000 (remember I can hold a list of 1000 items in memory but not a
million)
Are there better ideas - remember I want to create more objects than can be
held in memory at once.

Reply via email to