OutOfMemoryError when deploying the Composite:-
OutOfMemoryError has thrown when deploying the services to Oracle SOA Suite server from UNIX using ANT.
[wldeploy]
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + UpdateStatus SOACluster
Exception in thread "J2EE-Deployment-task-poller" java.lang.OutOfMemoryError: PermGen space
[echo] There was an error while deploying: The following error occurred while executing this line:
[echo] code/config/scripts/WebServicesBuild.xml:96: java.lang.OutOfMemoryError: PermGen space
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + UpdateStatus SOACluster
Exception in thread "J2EE-Deployment-task-poller" java.lang.OutOfMemoryError: PermGen space
[echo] There was an error while deploying: The following error occurred while executing this line:
[echo] code/config/scripts/WebServicesBuild.xml:96: java.lang.OutOfMemoryError: PermGen space
To overcome this issue increase the client memory (ANT) by executing the below comment and try the deployment again.
In Unix:
export ANT_OPTS=”-Xms512m -Xmx1024m -XX:MaxPermSize = 512m -XX: PermSize = 512m”In Windows:
set ANT_OPTS=”-Xms512m -Xmx1024m -XX:MaxPermSize = 512m -XX: PermSize = 512m”Follow @albinsblog
No comments:
Post a Comment