掲示板
java.lang.StackOverflow Error while building service
11年前 に Varsha . によって更新されました。
java.lang.StackOverflow Error while building service
Regular Member 投稿: 187 参加年月日: 12/03/05 最新の投稿
Hello everyone,
I am getting the java.lang.StackOverflow (attached) error while building the services.
My service.xml is having approximately 50 tables.
I have tried the http://issues.liferay.com/browse/LPS-19036 solution also but the problem still persist.
My eclipse.ini is also attached.
Please help me out .
I am getting the java.lang.StackOverflow (attached) error while building the services.
My service.xml is having approximately 50 tables.
I have tried the http://issues.liferay.com/browse/LPS-19036 solution also but the problem still persist.
My eclipse.ini is also attached.
Please help me out .
11年前 に David H Nebinger によって更新されました。
RE: java.lang.StackOverflow Error while building service
Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Your eclipse ini file has no effect on the amount of memory used to invoke java via the ant task (which is used to run service builder).
You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
11年前 に Varsha . によって更新されました。
RE: java.lang.StackOverflow Error while building service
Regular Member 投稿: 187 参加年月日: 12/03/05 最新の投稿
Thank's for your prompt reply.
I am new to this , can you help me out in making changes in ant script??
David H Nebinger:
You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
I am new to this , can you help me out in making changes in ant script??
11年前 に Vishal Panchal によって更新されました。
RE: java.lang.StackOverflow Error while building service (回答)
Expert 投稿: 289 参加年月日: 12/05/20 最新の投稿Varsha .:
Thank's for your prompt reply.David H Nebinger:You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
I am new to this , can you help me out in making changes in ant script??
Hi Varsha ,
As per David's suggestion I think you have to set ANT_OPTS(ant memory allocation parameter).
You should set ANT_OPTS to your system variables under environment variables.
You have to add one new variable having values below.
variable name : ANT_OPTS
variable value : -Xmx1200m -Xms1200m -XX:MaxPermSize=256m
please find the attached snapshot for more details.
Thanks&Regards,
Vishal R. Panchal
添付ファイル:
11年前 に Varsha . によって更新されました。
RE: java.lang.StackOverflow Error while building service
Regular Member 投稿: 187 参加年月日: 12/03/05 最新の投稿
Thanks Vishal Panchal it worked..
11年前 に Vishal Panchal によって更新されました。
RE: java.lang.StackOverflow Error while building service
Expert 投稿: 289 参加年月日: 12/05/20 最新の投稿Varsha .:
Thanks Vishal Panchal it worked..
Varsha ,
Good to here ,,
Thanks to David as well..!
Thanks&Regards,
Vishal R. Panchal