SpatiumPortae/portal

[bug] Compression taking absurd amounts of time

NovumGain opened this issue · 2 comments

Describe the bug
Unsure if it's because of the file size (225.2 GiB), but the Compression is taking forever to do -- it's been 15 minutes already, and it's just not compressing. Not sure if it's too big, or if it just genuinely is running into a roadblock. In the gifs, I saw that it instantly did 4 GB, which has me wondering.

To Reproduce
Type in Portal send *name* with a large file as the name.

Expected behavior
At least a moderately-speeded compression to compress it

Platform / Portal version (please complete the following information):

  • Windows 11 [WSL 2.0]
  • Portal v1.2.3

I'm not sure how long compressing 225GB should take, as that is a seriously large payload which I have not came close to working with before.

My best guess is that the many of the larger files (is it one or several files?) are already heavily compressed, in which case, the compression algorithm currently used will still try to compress them (and be much slower at it), see #85 for more information on that.

Without more information on how compressed your files are, what type of files they are, and what kind of system you are on, I don't think I can help you much more than that.

I'd be willing to look into it more if you can provide more information. In any case, I wish you good luck with transferring those files. If you are using Portal to do it, I hope you do your best to have them be transferred locally, or using a local relay, to ease the load on our servers :)

Closing due to inactivity.