Question
RABO BANK
NL
Last activity: 6 Jul 2017 18:02 EDT
Need suggestions on Saving a Large File
Hi Team,
Please help a approach on the following requirement.
Scope : Attach a larger file (500mb to 1 GB) to the Case.
Hi Team,
Please help a approach on the following requirement.
Scope : Attach a larger file (500mb to 1 GB) to the Case.
I have tried customizing the file size limit in PEGA but getting a session out error.
Please advise me, thanks in advance.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Suresh,
For the Data-WorkAttach- attachments, the limit is 1 gig by default.
By default, file attachments are restricted to 1 gigabyte in size. You can set a larger or smaller limit with the prconfig.xml file setting:
<env name="Initialization/MaximumFileUploadSizeMB" value="nn" /> (where nn is the size in megabytes)
Hi Suresh,
For the Data-WorkAttach- attachments, the limit is 1 gig by default.
By default, file attachments are restricted to 1 gigabyte in size. You can set a larger or smaller limit with the prconfig.xml file setting:
<env name="Initialization/MaximumFileUploadSizeMB" value="nn" /> (where nn is the size in megabytes)
Having said that, your system should have enough RAM and enough heap size to upload large files, and during the upload, performance can be severely degraded, can lead to OOM errors if the heap is exhausted.
RABO BANK
NL
Hi Harish,
Thanks for reply
Have tried to increase the limit both in prconfig.xml & system setting : pyMaxDragDropAttachSizeMB but getting session out error above 200MB size files.
Can i use FTP in this scenario , if yes can you help in understanding Connect-FTP method parameters.
Pegasystems Inc.
US
Hi Suresh,
Try setting the same values for both the DSS and System setting pyMaxDragDropAttachSizeMB (ensure to save setting it in your ruleset).
Purpose: prconfig/Initialization/MaximumFileUploadSizeMB/default
Owning Ruleset: Pega-Engine
Hi Suresh,
Try setting the same values for both the DSS and System setting pyMaxDragDropAttachSizeMB (ensure to save setting it in your ruleset).
Purpose: prconfig/Initialization/MaximumFileUploadSizeMB/default
Owning Ruleset: Pega-Engine
Value: 1024 --- (in MB)
After this change, try uploading larger files less than 1 GB and check the result. I couldn't intercept what is session out error. Provide a screenshot of this error or relevant log files. And also confirm if you are able to do other operations after hitting this error.
Connect-FTP can be used to transfer a file from local file path(Pega server) to remote file path(external server). That may not serve our purpose of attaching large files on work objects.
RABO BANK
NL
Hi Harish,
Please find the error screen shot while upload 430MB file
RABO BANK
NL
Can anyone help me on this...
Pegasystems Inc.
US
Hi Suresh,
Can you provide the log file showing the exception "can't continue with file upload"? Thanks.
Also, the only place I can find this error message being thrown in a PRRuntimeException is DataImportUtilsImpl. So, please enable this logger to DEBUG before generating that log for me.
com.pega.pegarules.exec.internal.util.importexport.DataImportUtilsImpl
Pegasystems Inc.
US
Hi,
Have you reviewed the following Support Article.
Can you try the following recommended approach and see if the upload is even successful?
- Recommended approach is for large files which are more than 10 MB, use the normal Select option.