You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MicroProfile
Hi guys,
I am investigate how to download a large file (size > 1Gb) from MinIO by Java Service:
But when I call the API. I got the error like this.
Do you know why it is?
And any best idea to solve this problem?
Thank you,
Vu
Federico Mariani
unread,
Feb 4, 2021, 3:08:04 AM2/4/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MicroProfile
Hi,
you shouldn't return tye byte[] but the Stream straight, in this way the 1GB file won't be loaded into memory. Maybe StreamingOutput api can help. I think that using OutputStream instead of byte[] is always a best practice.