pp_out_converted = tools.pre_processing.PreProcessingOutputLMDB(lmdb_converted)
pp_convert = tools.pre_processing.PreProcessingNormalize(pp_in, pp_out_converted,normalizer =512.0, batch_size=100)
pp_convert.run()

Might be the batch_size definition, any rule for that?