cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Utilization is high(95%) in alfresco community 5.2

leela
Confirmed Champ
Confirmed Champ

Hello Everyone,

       I am using alfresco community 5.2 in production that take a lot of Memory usage in task manager. In windows server R2, Kindly help to solve this issue. Thanks in advance

Regards

Leela N 

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

Since you are running a Windows service: Have you actually updated the service parameters of the Tomcat service via the tomcat8w utility (see Apache Tomcat 8 (8.5.38) - Windows service HOW-TO ) or just set a JAVA_OPTS in some bat file that is not actually being used in the WIndows service use case? Especially Xmx/Xms are only set via the service parameters AFAIK.

View answer in original post

9 REPLIES 9

afaust
Legendary Innovator
Legendary Innovator

How much memory has actually been assigned? Did you check with JVisualVM (check JDK tools) what area of memory is actually being used (eden, old gen)? Did you perform heap dump and analyze the memory to determine what is being held in memory?

leela
Confirmed Champ
Confirmed Champ

Thanks for your response,

               

            Our server configuration is 64GB RAM, hard disk space 5.2TB, windows servers R2. i have increased memory size in ctl.sh file JAVA_OPTS="-Xms10G -Xmx25G, also I have checked  using JVisualVM.

Attached here with screenshots for your reference, kindly help to resolve this issue. 

 

afaust
Legendary Innovator
Legendary Innovator

For what reason did you set the heap to use up to 25G of RAM (Xmx) if your actual usage is barely above 2G? It looks like setting it to 8 or 12G should be enough. I am also confused by your statement that your server has 64G, yet Java using 32G according to task manager already adds up to 96% memory use? That seems odd. Have you checked other applications / services running on your Windows host for excessive memory use?

leela
Confirmed Champ
Confirmed Champ

Thanks for response,

  

                  I am Referring this link http://docs.alfresco.com/5.2/concepts/jvm-settings.html, then only i Decided to change the Min and Max Value in ctl.sh file. No other application are running in server, its a dedicated server.  Now i have changed   JAVA_OPTS="-Xms10G -Xmx25G  to JAVA_OPTS="-Xms2G -Xmx12G. But still I am facing the same issue, Kindly do needful. its high priority.

 

              Here Below i have attached with screenshots for Task Manager.