Yes. -O controls cores (16 in your case) and --rdp_max_memory controls memory. I'm not sure if it's 14,000 MB for the whole program or 14,000 MB per core. If it's MB per core, than you have assigned a huge amount of memory!
When I use large scripts like this, I often have activity monitor up (or some other program to monitor RAM and CPU) to make sure that I don't 'run out' of RAM. Once RAM is fully used, the computer starts using swap, which is much slower and grinds the program to a halt.
I hope that helps! Let me know what you try next,