From 57a3d345a0e17b4b6eb9636409749678296f95fb Mon Sep 17 00:00:00 2001 From: Ankit Sardesai Date: Fri, 7 Nov 2014 08:14:54 -0500 Subject: [PATCH] Added item to configuration file for max form content size --- refine | 5 +++++ refine.ini | 3 +++ 2 files changed, 8 insertions(+) diff --git a/refine b/refine index c014552b8..ca901759c 100755 --- a/refine +++ b/refine @@ -917,6 +917,11 @@ if [ -z "$REFINE_MEMORY" ] ; then fi add_option "-Xms256M -Xmx$REFINE_MEMORY -Drefine.memory=$REFINE_MEMORY" +if [ -z "$REFINE_MAX_FORM_CONTENT_SIZE" ] ; then + REFINE_MAX_FORM_CONTENT_SIZE="1048576" +fi +add_option "-Drefine.max_form_content_size=$REFINE_MAX_FORM_CONTENT_SIZE" + if [ -z "$REFINE_PORT" ] ; then REFINE_PORT="3333" fi diff --git a/refine.ini b/refine.ini index 5df2e3a35..2fdab231c 100644 --- a/refine.ini +++ b/refine.ini @@ -5,6 +5,9 @@ no_proxy="localhost,127.0.0.1" #REFINE_PORT=3334 #REFINE_HOST=127.0.0.1 #REFINE_WEBAPP=main\webapp + +# Memory and max form size allocations +#REFINE_MAX_FORM_CONTENT_SIZE=1048576 REFINE_MEMORY=1400M # Some sample configurations. These have no defaults.