Hi Everyone,
I have the Mendelson AS2 v1.1 build 61 installed on a Server 2019 x64.
I've installed JRE 8 update 321 (x64). I can't find where to increase the heap memory size limits.
TIA
I found this article but I don't see the mendelson_as2_start.sh file in the AS2 folder. http://nareshbabukalakada.blogspot.com/2018/02/transferring-large-files…
I'm running the community edition. Is it because of that? Is there no option to increase the heap memory in the community edition?
copy the folder from the zip file into the AS2 directory , rename the existing jre folder to jre.orig and rename the newly copied folder zulu11.54.25-ca-jre11.0.14.1-win_x64 to jre
Thank you so much :) That fixed the 64 bit issue. However, updating the heap settings in the AS2.lax didn't work for me.
When I launch the AS2 console, I still get the heap configuration warning. I've attached the AS2.lax (txt) file I'm using.
Is there another file I need to make changes to?
Submitted by rocketbase on Fri, 04/01/2022 - 07:57
Are you sure you are running the 64bit version of the jre ? I did a fresh install, removed the included jre directory and replaced it with the one from Zulu, making sure to rename the folder jre. I then modified the line lax.nl.java.option.java.heap.size.max=4096M and it started correctly. The only issue raised was regarding an ssl cert. See attached screenshot.
If you hover your mouse on the bottom over the triangle warning icon this will list all your errors.
Hi Ricketbase,
Even though I'm still seeing the warning message when opening the AS2 console, I noticed the it's now using ~ 2GB of memory vs ~ 200MB (before changing from 32 bit to 64 bit). As long as the AS2.lax file contains the max heap information, I'm good with this as a solution and I assume I can ignore the heap memory warning in the console. Thanks again for all your help!
For AS2 version b63
It uses install4J and the file "AS2.lax" is not used anymore. Also, java 64 bit is added by default.
Create a new file named "AS2.vmoptions" in the installation folder together with AS2.exe file with these contents:
Comments
I found this article but I…
Submitted by SHALEX on Wed, 03/16/2022 - 21:36
I found this article but I don't see the mendelson_as2_start.sh file in the AS2 folder.
http://nareshbabukalakada.blogspot.com/2018/02/transferring-large-files…
I'm running the community edition. Is it because of that? Is there no option to increase the heap memory in the community edition?
I believe this is done by…
Submitted by rocketbase on Fri, 03/25/2022 - 17:50
I believe this is done by editing by editing the AS2.lax file on windows platforms. Look for the line
lax.nl.java.option.java.heap.size.max=1200M
and modify it. I also believe you'll need to replace the jre directory which ships with AS2 opensource with a 64bit version.
Thank you Rocketbase. Where…
Submitted by SHALEX on Mon, 03/28/2022 - 20:18
Thank you Rocketbase. Where can I find the 64 bit jre folder to download?
I looked in https://github.com and couldn't find a 64 bit version.
you just download a new 64…
Submitted by rocketbase on Tue, 03/29/2022 - 05:17
In reply to Thank you Rocketbase. Where… by SHALEX
you just download a new 64 bit jre from any of the jdk suppliers like
Eclipse Foundation OpenJDK https://adoptium.net
Amazon Corretto OpenJDK https://aws.amazon.com/corretto
Azul Zulu Builds of OpenJDK https://www.azul.com/downloads/?package=jdk
I'm using Azul OpenJDK 11 JRE Windows 64bit build https://cdn.azul.com/zulu/bin/zulu11.54.25-ca-jre11.0.14.1-win_x64.zip
copy the folder from the zip file into the AS2 directory , rename the existing jre folder to jre.orig and rename the newly copied folder zulu11.54.25-ca-jre11.0.14.1-win_x64 to jre
Thank you so much :) That…
Submitted by SHALEX on Thu, 03/31/2022 - 15:40
Thank you so much :) That fixed the 64 bit issue. However, updating the heap settings in the AS2.lax didn't work for me.
When I launch the AS2 console, I still get the heap configuration warning. I've attached the AS2.lax (txt) file I'm using.
Is there another file I need to make changes to?
Are you sure you are running…
Submitted by rocketbase on Fri, 04/01/2022 - 07:57
Are you sure you are running the 64bit version of the jre ? I did a fresh install, removed the included jre directory and replaced it with the one from Zulu, making sure to rename the folder jre. I then modified the line lax.nl.java.option.java.heap.size.max=4096M and it started correctly. The only issue raised was regarding an ssl cert. See attached screenshot.
If you hover your mouse on the bottom over the triangle warning icon this will list all your errors.
Hi Ricketbase, Even though I…
Submitted by SHALEX on Mon, 04/04/2022 - 14:45
Hi Ricketbase,
Even though I'm still seeing the warning message when opening the AS2 console, I noticed the it's now using ~ 2GB of memory vs ~ 200MB (before changing from 32 bit to 64 bit). As long as the AS2.lax file contains the max heap information, I'm good with this as a solution and I assume I can ignore the heap memory warning in the console. Thanks again for all your help!
For AS2 version b63 It uses…
Submitted by mk_cd on Mon, 06/12/2023 - 12:34
For AS2 version b63
It uses install4J and the file "AS2.lax" is not used anymore. Also, java 64 bit is added by default.
Create a new file named "AS2.vmoptions" in the installation folder together with AS2.exe file with these contents:
-Xmx6144m
-Xms2048m
Source: https://www.ej-technologies.com/resources/install4j/help/doc/concepts/v…