Message Boards

server started, but cannot login

Scarletake Bwi, modified 3 Years ago.

server started, but cannot login

Expert Posts: 327 Join Date: 12/20/10 Recent Posts

hi

i use liferay6.2 with jdk7

i hit exception today, 

i found someone have same issue and fixed, i try same way but it doesn't work

apparent-deadlock

i add in eclipse server

-Xms4g -Xmx12g -XX:PermSize=1g -XX:MaxPermSize=2g -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC

and add in portal-ext.properties

jdbc.default.acquireIncrement=5
jdbc.default.maxPoolSize=100
jdbc.default.minPoolSize=10
jdbc.default.numHelperThreads=10
 

and delete tomcat / work / Catalina

now the server can start up, but just start up, i cannot login, everytime i try to login, it just reading, and outofmemorry.

can anyone help me? please.

 

thumbnail
Olaf Kock, modified 3 Years ago.

RE: server started, but cannot login

Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

The other article you link is 10 years old - I doubt that it's still relevant.
​​​​​​​It would help to know more about your server: Does it actually allocate the 12G memory that you allow it to allocate? Do you have 12GB to spare for a single application on a development machine? (As you state you're configuring in Eclipse)

The PermSize parameter is way overdimensioned

Check

  • if the memory configuration actually is being taken into account
  • if you have enough memory to start with
  • profile your application to detect what eats up your memory.

My guess is: Either your memory settings aren't applied, or you don't have as much (hardware) RAM as you grant your application to allocate, or you have custom plugins that are just memory hogs,