cancel
Showing results for 
Search instead for 
Did you mean: 

How to Increase JVM

mycelcius
Champ in-the-making
Champ in-the-making

Hi All

I recently upgrade my server's RAM from 6 GB to 12 GB, and since the RAM amount is doubled now, I am planning

to increase JVM to 3GB (currently by default is 1GB).

Is there any idea how can I accomplish this matter ?

I tried to alter catalina.sh, but still nothing changed.

Would be nice if anyone let me know how to do this

Thank you very much

Agung

1 ACCEPTED ANSWER

douglascrp
World-Class Innovator
World-Class Innovator

Using the command line, and inside the tomcat/bin folder, execute:

alfrescoTomcatw.exe //ES//alfrescoTomcat

The bold part has to be the same as the name of the Alfresco's service you see in the Windows Services window.

By doing so, you will be able to set the configurations ‌ told you to set

View answer in original post

16 REPLIES 16

cesarista
World-Class Innovator
World-Class Innovator

Check alfrescoTomcatw.exe application.

--C.

mycelcius
Champ in-the-making
Champ in-the-making

Here is what properties menu shows, still can't see the Java tab

Best Regards,

Agung

cesarista
World-Class Innovator
World-Class Innovator

Well, a final try.

Did you look between Windows services ? Check the Windows service that is running Tomcat.

Regards.

--C.

douglascrp
World-Class Innovator
World-Class Innovator

Using the command line, and inside the tomcat/bin folder, execute:

alfrescoTomcatw.exe //ES//alfrescoTomcat

The bold part has to be the same as the name of the Alfresco's service you see in the Windows Services window.

By doing so, you will be able to set the configurations ‌ told you to set

mycelcius
Champ in-the-making
Champ in-the-making

Hi Doug

Sorry for the delay, was out of town .

Anyway, thanks a lot for the advice, finally I can set up the JVM max RAM allocation.

But there was another issue came up, somehow, if I set value other than 1024 M, the tomcat wont start.

But if I set the max RAM to 1024, it will start.

I am running Alfresco on Win Server 2008 R2 x86 with 12 GB of RAM.

any advice why this happened ?

Thanks a lot

Best Regards,

Agung

mycelcius
Champ in-the-making
Champ in-the-making

Hi Doug and Cesar

I think I found out why the JVM max RAM is persistent on 1024M only, it seems that it was limitation

on 32bit operating system (even though I used Win Server enterprise edition).

Last night I installed alfresco (same version 2016) on my laptop running Win 10 x64 and by default JVM max RAM was already 6GB (my laptop run on 12 GB). So I think that conclude the solution for the problem.

Thank you very much for the very helpful support.

Best Regards,

Agung

Hi Doulgas,

If you are using windows you can use the Graphic interface instead of command line:-)

  1. Go to the bin folder
  2. Then right-click on the alfrescoTomcatw.exe and click on Open
  3. Then you have access to the same interface as doing alfrescoTomcatw.exe //ES//nameOfYourProcess

Hope it also helps some one