内存文件系统限制不能超过 JVM 最大堆大小



我使用 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.

我认为这是Adobe ColdFusion中的一个错误,因为默认情况下CommandBox没有设置最大堆大小! 这只是您的操作系统想要提供的任何内容。 尝试在命令框中设置显式最大值。

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

另外,FWIW,我不确定最大帖子大小是否适用于 CF 的 J2E 安装。 它可能依赖于他们被黑的 Tomcat 版本,所以你可能想要测试。

相关内容

最新更新