Expand my Community achievements bar.

Memory Issues with HTML5 Forms

Avatar

Level 3

Hello Everyone,

 

We were trying to migrate all our XDPs into AEM Forms Manager. We have about 500 fragments (.xdp), we made sure, we turned off the DAM update asset workflow to avoid triggering multiple workflows. After uploading the fragments, we tried rendering couple of forms one around 70kb and the other about 300 kb, both has reference to fragments. The smaller one renders fine and opens up pretty fast however, the 300kb one renders for a while and then throws memory exceptions. Can someone suggest any performance tuning steps to address this ? we are expected to have around 900 forms in future.

I already tweaked my JVM and set -Xmx at 8192 but still running into issues. Attached is the error message.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

5 Replies

Avatar

Employee

Hi @kolluax,

Can you please share the information below:

 

- Current AEM Forms Version:
- Current AEM Forms Patch Version:
- JEE/OSGI Instance:
- Architecture(Standalone/Cluster):
- Type of Server(Dev/Stage/Prod):
- Application Server, Database, and Operating System Type (Windows/Linux):

 

Additionally based on the logs it seems that you are facing issues related to "Java heap space". We have added the support for 64-bit libraries in SP19 which can help increase the performance of the system and provide better throughput.

 

Please share the details for that we can investigate the issue along with a few sample files which are causing issues.

Thanks
Pranay

Avatar

Level 3

Hi Pranay - Thanks for your response.

 

- Current AEM Forms Version: AEM 6.5
- Current AEM Forms Patch Version: 6.5.22
- JEE/OSGI Instance: OSGI
- Architecture(Standalone/Cluster): Standalone
- Type of Server(Dev/Stage/Prod): Dev
- Application Server, Database, and Operating System Type (Windows/Linux): Linux

 

Thanks,

Abhishek

Avatar

Level 3

Please extract the files. There are two main XDPs under APP, one around 50 kb which works fine, problem is with the other one. I have also copied the dependent fragments under /LIB directory. Please create similar directory under forms and documents to replicate the issue. Thanks.

Avatar

Level 3

Following up on this question. I was trying to follow the Optimize HTML forms article here :https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/html5-forms/optimize-...

 

I did not understand step2. where they were trying to setup a proxy on 8080 with JBoss, i believe they are trying to setup a virtual host on dispatcher and then add the step 3, gzip directives into it, is that a fair assumption ?

 

Thanks,

Abhishek

Avatar

Employee

Hi @kolluax,

 

Thank you so much for sharing the information. I tried to test the artifacts that you shared on my server and I am not seeing any issues related to the performance.

Thanks

Pranay