OutOfMemoryError: Java heap space - What can I do?
Per default, SmartPLS uses a maximum memory of 512 MB. If you run extensive computations, you may need to allocate more memory. If your computer has enough main memory available, you can setup a higher limit that SmartPLS can use for its computations.
To allocate more memory you need to change the smartpls.ini config file.
On Windows the file can be found in the SmartPLS installation folder, usually c:/program files/SmartPLS3
On Mac OSX you need to "Show Package Contents" for the SmartPLS application and then the file can be found under Contents/Eclipse as indicated in the screenshots:
Once located, open smartpls.ini in a text editor and change tis line: -Xmx512m
The numeric value should not exceed the main memory that is available on your computer. If your computer has 4 GB RAM, you may want to choose a new entry of –Xmx2048m, which would allow the SmartPLS software to use a maximum memory of 2,048 MB.
After you have saved your changes, restart the SmartPLS software.
++Note:++ You must have administrator rights on your computer to change the smartpls.ini file. If you can´t save it, try to open the text editor as an administrator. Another option is to copy the smartpls.ini file to the Desktop, edit it there and copy it back. Windows will ask for the Administrator account when you copy the file back.
See this video also: