Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: server started, but cannot login
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
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.
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,
Powered by Liferay™