Unable to run test query in OutSystems J2EE Platform

Unable to run test query in OutSystems J2EE Platform

  

Symptoms:

Whenever a test query is issued a popup with the following message appears:
Cannot run program "/opt/outsystems/platform/oshecomp.sh" (in directory "/tmp/qt_vcpbiwdtsxrb"): java.io.IOException: error=12, Cannot allocate memory

Cause:

There is lack of Linux swap space.

Resolution:

Best practices indicated that swap space should be at least two times bigger than the amount allocated to the system RAM, having that in mind evaluate if this configuration is being held within your installation. In case it isn't, increase the swap space accordingly.

-----------------------------------------------------
Best Regards

Carlos Cabral