hello,
i'm using struts 1.1 and commons-uploading 1.0 ; i use JUpload(.biz) to
submit multiple image files
to an action form. On average aproximate 400 around 50k of files are
sent, causing heap space problems (currently set to 512mb).
i also configured the controller as:
controller
set-property property=nocache value=true/
set-property property=debug value=9/
!--
The size of the input buffer used when processing file
uploads. The default value is 4096
--
set-property property=bufferSize value=24M/
!--
The maximum size (in bytes) of a file to be accepted as a file
upload. This value can be expressed as a number followed by
a K, M , or G , which is interpreted to mean kilobytes,
megabytes, or gigabytes, respectively. The default value is 250M
--
set-property property=maxFileSize value=250M/
!--
The maximum size (in bytes) of a file whose contents will be
retained in memory after uploading. Files larger than this
threshold will be written to some alternative storage
medium, typically a hard disk. This value can be expressed as
a number followed by a K , M , or G , which is interpreted to
mean kilobytes, megabytes, or gigabytes, respectively. The
default value is 256K
--
set-property property=memFileSize value=0K/
Can it be that are not the files size causing the OutOfMemoryError but
the number of objects in the request?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]