Bad_alloc when I use


I try to get Image Data with ImageRecordIter, but it caused python aborted.

Did it happen because my memory is not enough? I ran this on vultr with 1 GB memory.
Can anybody figure this out? Or how many memory should I get to use ImageRecordIter?