server started, but cannot login

تم تعديل Jamie Sammons منذ 4 سنوات من الدقائق. Expert المشاركات: 327 تاريخ الإنضمام: 20‏/12‏/10 المشاركات الحديثة

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 منذ 4 سنوات من الدقائق. Liferay Legend المشاركات: 6441 تاريخ الإنضمام: 23‏/9‏/08 المشاركات الحديثة

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,