Thursday, February 8, 2018

Transferring Large files using Mendelson AS2

Mendelson AS2 heap size increase

People are always worrried about what is the maximum file size they can transfer using AS2 protocol. Technically AS2 tranfer size limit is determined by the heap size allocated for the AS2 server.

In order to increase heap memory size for Mendelson As2, perform following steps

  1. Open in the as2 home folder using any of the editors
    1. vi
  2. Go to the end of the file where you will find some thing similar to below
    1. java -Xmx1024M -Xms92M -classpath $CLASSPATH de.mendelson.comm.as2.AS2 $1 $2 $3 $4 $5 $6 $7 $8 $9
  3. Update -Xmx1024(Max memory allocated to that particular java program) to whatever size your application might need. 

No comments:

Post a Comment