Optimizations in external calls
2GB heap when run using run_console.sh