我使用Commandbox启动了一个ColdFusion 11实例。我想在Server Settings => Settings下修改CFADMIN中的一个设置,即Maximum number of POST request parameters。
我一直收到错误In memory file system limit cannot be more than JVM max heap size。
我如何快速摆脱这个错误,因为它与我想要修改的设置无关?我取消选中Enable In-Memory File System,但这不会改变任何内容。我将Memory Limit for In-Memory Virtual File System设置为1,并得到错误消息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.
为了设置我的参数,我最终使用了cfconfig set postParametersLimit=1000。
发布于 2019-08-17 00:18:41
我认为这是Adobe ColdFusion中的一个错误,因为CommandBox在默认情况下没有设置最大堆大小!它只是你的操作系统想要给它的任何东西。尝试在CommandBox中设置显式最大值。
https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/jvm-args#heapsize
另外,我不确定最大post大小是否适用于CF的J2E安装。它可能依赖于他们破解的Tomcat版本,所以你可能想要测试一下。
https://stackoverflow.com/questions/57521392
复制相似问题