Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload more than 100MB of file #9

Closed
shivakrishnay opened this issue Aug 9, 2021 · 5 comments · Fixed by #10
Closed

Unable to upload more than 100MB of file #9

shivakrishnay opened this issue Aug 9, 2021 · 5 comments · Fixed by #10
Assignees

Comments

@shivakrishnay
Copy link

Hi Team.

I'm unable to upload the files which is having more than 100 MB but I'm able to upload the files from SAS Studiov successfully.

And in EVM we have a limit of 2.5 GB which we can send.

Please assist where is the bug.

Thanks,
Shiva

@allanbowe
Copy link
Member

Hi Shiva,

Can you try opening SASEnvironmentManager in Viya, under configuration / definitions search for sas.files and update the maxFileSize property per your requirements?

And please let us know if this fixes your issue.

image

Best,
Allan

@shivakrishnay
Copy link
Author

thank you for the update and can we go with the 5 GB or we are having any limitation to upload the file from app,

@allanbowe
Copy link
Member

There is no limitation in the fileuploader app - other than, perhaps, the amount of memory on your local machine. The limitation is on the server (SAS) side and is an administrative setting.

If you would like to use 5GB, you can try entering the following value: 5,368,709,120

Do let us know if this is successful for you.

@allanbowe allanbowe self-assigned this Aug 9, 2021
@shivakrishnay
Copy link
Author

I changed the value to 2GB in sas.files under configuration / definitions but no luck, even 100 mb of file also not uploading into the server.
can you help me on this where is the bug ?

@allanbowe
Copy link
Member

allanbowe commented Aug 24, 2021

@shivakrishnay - you are right, the advice above does not seem to work - I have actually been unable to find the setting that enables >100mb uploads, at least in Viya 3.5 (I tried several places)

We have decided to implement a workaround, as follows (this will also benefit users who are unable to change admin settings):

  • Large files will be chunked into 75mb sections
  • Each section will be uploaded in series and appended using mp_binarycopy
  • A progress indicator will be shown

@sabhas is picking this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants