From 0e83f09323daacedbb03b3bd33df3c8694aaf200 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Wed, 16 Feb 2022 17:15:24 +0100 Subject: [PATCH] Improved: Error in uploading very large files, ie >2GB (OFBIZ-11534) I reopened, forgot that you need to set -PjvmArgs, as I commented before: <> This also adds information in security.properties: <> --- framework/security/config/security.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/security/config/security.properties b/framework/security/config/security.properties index 45bad62bf0..e2c1473728 100644 --- a/framework/security/config/security.properties +++ b/framework/security/config/security.properties @@ -267,3 +267,7 @@ login.uris=login #-- If you need to use localhost or 127.0.0.1 in textareas URLs then you can uncomment the allowedProtocols property, here given as an example #-- You may also put other protocols you want to use, instead or with those allowedProtocols=localhost,127.0.0.1 + +#-- By default (OOTB) OFBiz is protected against Large File Denial of Service because build.gradle defines -Xmx1024M +#-- So you can at most upload a file around 500MB (see OFBIZ-11534 for more info) +#-- If you need to upload larger files then follow https://nightlies.apache.org/ofbiz/trunk/readme/html5/#passing-jvm-runtime-options-to-ofbiz