Allocating Additional Memory to Accommodate Posting Large Files

When posting files that are 5 megabytes (MB) or larger to the integration gateway, you should allocate additional random access memory (RAM) in Send Master to accommodate larger file sizes.

If Send Master does not have enough memory for a task, an “out of memory” error can occur.

To allocate additional RAM in Send Master:

  1. Close Send Master.

  2. Open StartSendMaster.bat (in Microsoft Windows) or StartSendMaster.sh (in UNIX).

  3. Add the –XmxZZm parameter, where ZZ equals the amount of RAM, in megabytes, to allocate.

  4. Save the file.

  5. Reopen Send Master.

For example, the value – Xmx128m indicates to allocate 128 MB of RAM. The following example shows how to add the parameter in the StartSendMaster.bat file:

cd "applications\peoplesoft\PSIGW.war\WEB-INF\classes\com\peoplesoft\pt\
sendmaster\"java -Xmx128m -classpath "c:\ptdvl\
webserv\peoplesoft\applications\peoplesoft\PSIGW.war\WEB-INF\lib\xalan.jar;c:\
ptdvl\webserv\peoplesoft\applications\peoplesoft\PSIGW.war\WEB-INF\lib\
xerces.jar;c:\ptdvl\webserv\peoplesoft\applications\peoplesoft\PSIGW.war\
WEB-INF\classes;c:\ptdvl\webserv\peoplesoft\applications\peoplesoft\PSIGW.war\
WEB-INF\lib\mail.jar;c:\ptdvl\webserv\peoplesoft\applications\peoplesoft\
PSIGW.war\WEB-INF\lib\activation.jar;c:\ptdvl\webserv\peoplesoft\applications\
peoplesoft\PSIGW.war\WEB-INF\lib\jmq.jar;c:\ptdvl\webserv\peoplesoft\applications\
peoplesoft\PSIGW.war\WEB-INF\lib\jms.jar;c:\ptdvl\webserv\peoplesoft\applications\
peoplesoft\PSIGW.war\WEB-INF\lib\jndi.jar" com.peoplesoft.pt.sendmaster.SendMaster

You can increase the amount of memory in Send Master to any value you that you want, as long as your machine has the RAM to support the value that you choose.