https://community.talend.com/t5/Migration-Configuration-and/Allocating-more-memory-to-Talend-Studio/ta-p/21642
Locate the .ini file inside the Talend installation folder.
With 8 GB of memory available on 64-bit system, the optimal settings can be:
-vmargs -Xms1024m -Xmx4096m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8 After this, you need to configure this same variables on the Advanced Settings of the Run Tab.