Skip to main content
Participating Frequently
September 3, 2015
Question

JVM Heap size specification in CF10

  • September 3, 2015
  • 1 reply
  • 2193 views

What is the maximum memory that could be allocated for JVM heap size for a CF10 instance and what should be the minimum.

This topic has been closed for replies.

1 reply

Legend
September 3, 2015

Hi,

Depends on a number of factors. Is operating system and CF 32 or 64 bit? If 32 bit on Windows then max heap can be 1024m. If 64 bit it depends more on the available free memory EG for a Windows server with 8Gb RAM max of 4096m or 5124m can work ok.

Many times setting minimum heap to the same as maximum can work well.

Do not forget to check Permsize (Java 7) or Metaspace (Java 8) is suitably defined for the amount of class objects loaded in memory.

HTH, Carl.

Participating Frequently
September 4, 2015

Hi Carl,

Thank you for the valuable reply.

Our environment set up is like, the operating system is Win 2012 R2 Standard 64-bit and CF10 64-bit with 3 CF instance for 3 different websites excluding CFUSION. We have about 16GB of RAM with 4 virtual Processors. Now please suggest me how I should work on JVM allocation for this setup

Thanks,

Karthikeyan K

Legend
September 4, 2015

Hi Karthikeyan,

Sure I would be glad to offer some guidance tho without performinmg some Java monitoring it can be best guess wins.

Before jumping in what update level is CF10 and what Java version is in use?

Can be a good idea to make a copy of each jvm.config before changes case I give you bad direction or typo and CF10 instance does not start.

Regards, Carl.