What?
No program, however much RAM it gets is going to run faster. It will use only the amount of RAM it needs and is defined in the code of the program.
To speed something up; right click on the process in Task Manager and go to Priority; then set to High, Very High or Realtime - that way the process gets more Processor Priority and can get more done in less time as other programs have to wait.
If you're doing anything else, High is the best, because it will slow down other programs when the process calls for power and takes the processor away from other tasks.