Error Handling
Error Handling
try:
results = processor.process_batch()
except MemoryError:
print("Out of memory - reduce workers or chunk size")
except OSError as e:
print(f"File system error: {e}")
print("Check disk space and permissions")