coldfusion - 内存文件系统限制不能超过 JVM 最大堆大小
问题描述
我使用 Commandbox 启动了一个 ColdFusion 11 实例。Server Settings
我想在=>下更改 CFADMIN 中的设置Settings
;即
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 默认没有设置最大堆大小!这只是你的操作系统想要给它的任何东西。尝试在 CommandBox 中设置显式最大值。
https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/jvm-args#heapsize
另外,FWIW,我不确定最大帖子大小是否适用于 CF 的 J2E 安装。它可能依赖于他们破解的 Tomcat 版本,因此您可能需要进行测试。
推荐阅读
- swift - 无法读取数据,因为它的格式不正确。在 Swift 中使用 API 时
- python - 为 pandas df 的 if 语句苦苦挣扎:一个系列的真值是模棱两可的。使用 a.empty、a.bool()、a.item()、a.any() 或 a.all()
- python - QdateEdit 仅显示 mponths
- javascript - 有没有办法在加载 html 页面时发生 fetch() 请求?
- c# - 在c#中重现工作卷曲不起作用
- javascript - 当您只知道 64 十六进制公钥时,如何在 nodejs 加密中创建公钥
- android - Android Studio:无法解析符号 VolumeProviderCompat
- xilinx - 尝试在 vivado 2018.3 中配置约束时缺少外部端口
- flutter - 如何在 Flutter 中读取 SD 卡 ID 号
- django - Django 配置不当:应用程序标签不是唯一的