File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes why is Liferay CE so slow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "why is Liferay CE so slow" Watch "why is Liferay CE so slow" New topic

why is Liferay CE so slow

Daniel Kranowski

Joined: Apr 14, 2009
Posts: 2
I see from the forum that I'm not the only one who has noticed big performance problems with Liferay. I did see the link to and I hope it helps, but I am very surprised that out-of-the-box performance is so slow. I downloaded Liferay 6.0.1 Community Edition (Tomcat bundle), started it up and began clicking around the 7cogs demo -- seems like everything I click on takes 5 to 10 seconds to process. I figured it was just the Hypersonic HSQLDB that was slow, so I added to use MySQL instead, but I hardly saw any improvement. Host workstation was Windows XP, 2.8GHz cpu, 1GB RAM.

So I guess this is a general Liferay question and not portal/portlet-specific, but can you comment on Liferay performance? Are you surprised to hear how slow it is, or is it a known problem with the latest release?

Jonas X. Yuan
Ranch Hand

Joined: May 18, 2008
Posts: 108
you may try 'Liferay Portal RC2 Released' at

Books: Liferay Portal 6.1 Systems Development
Rich Sezov

Joined: Dec 13, 2006
Posts: 17

It looks to me like this is your problem:
Host workstation was Windows XP, 2.8GHz cpu, 1GB RAM.

Liferay's JVM is set by default to 1024M (1GB), which is what it requires. So your system is out of memory and is swapping if you only have 1GB total.

Albert Liptay

Joined: Sep 04, 2011
Posts: 3
Just had to reply to this one.

Intel i7 2600k, 8GB ram, SSD HD, Liferay CE 6.0.6 on Jetty slow as molasses...

OMG, reminds me of developing with Alfresco...
I agree. Here's the link:
subject: why is Liferay CE so slow
It's not a secret anymore!