server started, but cannot loginserver started, but cannot loginhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1208383422024-03-28T20:34:07Z2024-03-28T20:34:07ZRE: server started, but cannot loginOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1210587102021-08-19T08:31:14Z2021-08-19T08:31:14Z<p>The other article you link is 10 years old - I doubt that it's still
relevant.<br /> 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)</p>
<p>The PermSize parameter is way overdimensioned</p>
<p>Check</p>
<ul>
<li>if the memory configuration actually is being taken into account</li>
<li>if you have enough memory to start with</li>
<li>profile your application to detect what eats up your memory.</li></ul>
<p>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,</p>Olaf Kock2021-08-19T08:31:14Zserver started, but cannot loginScarletake Bwihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1208383412021-08-17T16:25:53Z2021-06-21T10:17:09Z<p>hi</p>
<p>i use liferay6.2 with jdk7</p>
<p>i hit exception today, </p>
<p>i found someone have same issue and fixed, i try same way but it
doesn't work</p>
<p>
<a href="https://liferay.dev/ask/questions/portal/apparent-deadlock--1">apparent-deadlock</a></p>
<p>i add in eclipse server</p>
<p>-Xms4g -Xmx12g -XX:PermSize=1g -XX:MaxPermSize=2g
-XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC</p>
<p>and add in portal-ext.properties</p>
<p>jdbc.default.acquireIncrement=5<br />
jdbc.default.maxPoolSize=100<br /> jdbc.default.minPoolSize=10<br />
jdbc.default.numHelperThreads=10<br /> </p>
<p>and delete tomcat / work / <strong>Catalina</strong></p>
<p>now the server can start up, but just start up, i cannot login,
everytime i try to login, it just reading, and outofmemorry.</p