liquidfiles/liquidfiles_unix

Aborts on large files

timrettop opened this issue · 2 comments

Hello,

I tried using this on my ubuntu 14.04 server, and ran into an issue downloading a very large (9.2GB) file.

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[1]+ Aborted (core dumped) liquidfiles download --server=https://files. --api_key= --message-id= https://files./message//OSImage.ova

Any suggestions on how to troubleshoot? I attempted a smaller file, and it completed successfully.

One thing that may or may not be of importance is that I dropped the process to the background as I didn't want to stay logged into the server. I happened to be logged in the second time I ran it to get that bad_alloc message.

Both times it failed, the final file size was 8GB (8589934037 bytes).

Hi Tim,

I have added progress bar for the upload and download. Could you please try latest version and let me know the percent of download at the crash point?

Thanks,
Sasun.

Hi Tim,

The issue was fixed in commit 050c248

Please test it in your side and let me know if you still see any issue.

Regards,
Sasun.