Layer7 API Developer Portal: Migration Tool does not finish the analyze step


Article ID: 197231


Updated On:


CA API Developer Portal


When running the Portal 3.x to 4.x migration tool the analyze step appears to hand indefinitely.


A review of the catalina.out will be needed to determine the exact cause. This is typically seen when you are migrating  a large database for one of two reasons:

1) The allocated heap space is too small (indicated by a Java OutOfMemoryError)

Aug 07, 2020 10:15:10 AM org.apache.coyote.AbstractProtocol$ConnectionHandler process
SEVERE: Failed to complete processing of a request
java.lang.OutOfMemoryError: Java heap space
 at java.base/java.util.Arrays.copyOf(
 at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(
 at java.base/java.lang.AbstractStringBuilder.append(
 at java.base/java.lang.StringBuffer.append(

2) The operation times out


Release : 3.5

Component : API PORTAL


To address the OutOfMemoryError you can increase the memory allocated to the Portal by updating the  -Xmx setting in /opt/Deployments/lrs/server/bin/

To increase the timeout setting edit the Apache configuration file (/etc/httpd/conf/httpd.conf) and change the timeout value from 60 to 180 and reload Apache (service httpd reload). The exact value may need some tuning but generally increasing up to 180 seconds will suffice.