Fix for issue #97

Fix out of memory problem when reading large jobs