Reduce memory consumption of banana (Closes #1450)