AIX

Troubleshooting: Memory-related errors with virtual non-production AIX patterns

Memory-related errors can occur on non-production virtual AIX patterns that are set by default to use no more than 8 GB of memory.

Problem

Memory-related errors can occur on non-production virtual AIX patterns that are set by default to use no more than 8 GB of memory. The issue is difficult to diagnose because no single error is always reported, and not all errors make it apparent that the issue is related to running out of memory. However, errors always occur during processes where large amounts of memory are used. Frequently, a related error occurs during the building of a search index, through use of the di-buildindex utility. The error that is displayed might look similar to the following error trace:
INFO: Data import process was unsuccessful. An unrecoverable error has occurred.
Throwable occurred: org.apache.solr.client.solrj.SolrServerException: 
Server refused connection at: http://ipas-lpar-042-101.purescale.raleigh.ibm.com:3737/solr
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:406)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
	at com.ibm.commerce.foundation.dataimport.process.util.SolrUtil.makeDataImportNoCleanCommand(SolrUtil.java:469)
	at com.ibm.commerce.foundation.dataimport.process.DataImportProcessorMain.fullDataImport(DataImportProcessorMain.java:1575)
	at com.ibm.commerce.foundation.dataimport.process.DataImportProcessorMain.executeDIH(DataImportProcessorMain.java:849)
	at com.ibm.commerce.foundation.dataimport.process.DataImportProcessorMain.main(DataImportProcessorMain.java:364)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:267)

Solution

These memory-related errors can be resolved by increasing the amount of memory that the virtual pattern has access to. Consider increasing the amount of memory from the 8 GB default to 10 GB or more. The amount of memory accessible by the pattern can be increased by modifying the Memory size (MB) parameter within a deployed virtual machine's settings, or within the Configure virutal parts > Standalone server configuration options when a new virtual pattern is being deployed.