Logging huge databags seems to cause out of memory exception