Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Theoni Zaharia
Liferay crashes after deployment of Zoe-PermGen space error
September 7, 2012 2:04 AM
Answer

Theoni Zaharia

Rank: New Member

Posts: 21

Join Date: February 21, 2012

Recent Posts

Hi there! I hope this is the correct place to post this thread...

We have installed Liferay 6.1.1-ce on JBoss 7.1.1 and try to use Marketplace.
We successfully installed Mail by downloading and copying the .lpkg to the deploy directory. When tried to do the same thing with Zoe though (15849919_15989574_15995277.lpkg), liferay crashed and we got errors like:

-java.lang.IllegalStateException: Unable to initialize portal

-Failed to define class com.liferay.taglib.ui.SocialActivitiesTag in Module "deployment.ROOT.war:main" from Service Module Loader: java.lang.OutOfMemoryError: PermGen space

My standalone.conf has the option:

JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -Xmx1024m -XX:MaxPermSize=256m"

Also, free -m in the server returns:

total used free shared buffers cached
Mem: 12010 11929 81 0 338 4942
-/+ buffers/cache: 6648 5362
Swap: 5951 154 5797

I tried deleting the lpkg and restarting but with no luck....
What else can I do?

Thanks in advance!
Mika Koivisto
RE: Liferay crashes after deployment of Zoe-PermGen space error
September 11, 2012 4:31 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

Increase your MaxPermSize that's what it says it's running out of.
Theoni Zaharia
RE: Liferay crashes after deployment of Zoe-PermGen space error
September 12, 2012 12:08 AM
Answer

Theoni Zaharia

Rank: New Member

Posts: 21

Join Date: February 21, 2012

Recent Posts

Hi!
thanks for replying! I thought 256 was enough (that' s the value I saw in most threads) but maybe it isn' t after all in this case....
Mika Koivisto
RE: Liferay crashes after deployment of Zoe-PermGen space error
September 12, 2012 4:21 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

The more plugins you have the more PermGen you'll need.
Theoni Zaharia
RE: Liferay crashes after deployment of Zoe-PermGen space error
September 12, 2012 10:41 PM
Answer

Theoni Zaharia

Rank: New Member

Posts: 21

Join Date: February 21, 2012

Recent Posts

Thanks for the advice!