Producer memory issues. not sure how to fix it