Upload Servlet Request is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.
Set the maximum file size. Default is 1024 * 1024 * 100.
com.liferay.portal.upload.UploadServletRequestImpl.max.size=104857600 |
Set the temp directory for uploaded files.
#com.liferay.portal.upload.UploadServletRequestImpl.temp.dir=C:/Temp |
Set the threshold size to prevent extraneous serialization of uploaded data.
com.liferay.portal.upload.LiferayFileItem.threshold.size=262144 |
Set the threshold size to prevent out of memory exceptions caused by caching excessively large uploaded data. Default is 1024 * 1024 * 10.
com.liferay.portal.upload.LiferayInputStream.threshold.size=10485760 |