title: Spring Batch - Processing Large Amounts of Data
body: <p>I am looking for a strategy to process a large amount of records with spring batch. The reader takes one line as input, the processor can generate a list of items of a size so big that they can't fit in memory. The flow is essentially: 
  read -> generate -> write</p>
  
  <p>Not sure if some sort of nested batching is the way to go, maybe using a tasklet, or if I am holding spring batch wrong in general.</p>