LiveCycle FormsIVS and OutputIVS “Cannot allocate memory” Issue on Linux

Because of the peculiarities of Linux architecture, you might get the following error in your J2EE appserver log while invoking FormsIVS, OutputIVS or PDF Generator:

java.io.IOException: Cannot run program “chmod”: java.io.IOException: error=12, Cannot allocate memory
instead of something like this:
[com.adobe.service.ProcessResource] BMC505: Service XMLFormService: Starting native process with command line “/home/livecycle/jboss-4.2.0/server/lc_mysql/svcnative/XMLFormService/bin/XMLForm.exe” -MyPath /home/livecycle/jboss-4.2.0/server/lc_mysql/svcnative/XMLFormService -IOR

This is caused by the swap partition not being big enough for LiveCycle. Increase the size of the swap partition to be at least 2 GB, preferably 4 GB. Forms ES and Output ES both have a C++ component (XMLForm.exe) that is forked from the J2EE appserver’s main java process. This requires additional memory that (in Linux) is almost the same amount as the appserver’s java process (1 to 2 GB). See this Apache Hadoop thread for more details on this behaviour.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 1.0/10 (1 vote cast)
LiveCycle FormsIVS and OutputIVS "Cannot allocate memory" Issue on Linux, 1.0 out of 10 based on 1 rating
This entry was posted in Adobe LiveCycle ES, General Interest and tagged . Bookmark the permalink.

Comments are closed.