0

I started a ColdFusion 11 instance using Commandbox. I wanted to alter a setting in the CFADMIN under Server Settings => Settings; namely Maximum number of POST request parameters.

I keep getting the error In memory file system limit cannot be more than JVM max heap size.

How can I quickly get rid of this error as it has nothing to do with the setting I want to modify? I uncheck Enable In-Memory File System but this changes nothing. I set Memory Limit for In-Memory Virtual File System to 1 and get the errore message In-Memory File System limit per Application must be numeric, less than In-Memory Virtual File System memory limit, and greater than or equal to 1.

To set my parameter I eventually used cfconfig set postParametersLimit=1000.

James A Mohler
  • 11,060
  • 15
  • 46
  • 72
Bernhard Döbler
  • 1,960
  • 2
  • 25
  • 39

1 Answers1

2

I assume this is a bug in Adobe ColdFusion because CommandBox doesn't set a max heap size by default! it's just whatever your OS wants to give it. Try setting an explicit max in CommandBox.

https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/jvm-args#heapsize

Also, FWIW, I'm not sure if the max post size works on a J2E install of CF. It may rely on their hacked up Tomcat version so you may want to test.

Brad Wood
  • 3,863
  • 16
  • 23
  • 1
    I can confirm it being a bug in ACF. I also get the error message on CF10, having a modified `jvm.config`. Not related to CommandBox at all. – Alex Aug 16 '19 at 19:37