tryin to free up memory. but python doesnt, still swapping until it breaks
Avoid memory leaks by adding the posibility of batching content exports.