Jacalz / rymdport

Cross-platform application for easy encrypted file, folder, and text sharing between devices.
https://rymdport.github.io/
GNU General Public License v3.0
1.1k stars 57 forks source link

Memory usage grows with transfer size during transfer #165

Open qlyoung opened 4 months ago

qlyoung commented 4 months ago

Checklist

Description

If you transfer a 10gb file with Rymdport, at 20% through the transfer Rymdport uses 2gb of memory, 50% through it uses 5gb, etc.

This characteristic makes Rymdport unusable for large transfers as it will exhaust the available memory in the system.

Steps to Reproduce

  1. Transfer a large directory with Rymdport, observe memory usage during transfer.

Screenshots

image

Rymdport version

3.6.0

Operating System

Linux

Operating System Version

6.9.8-arch1-1

Go Compiler Version

No response

Additional Information

No response

Jacalz commented 4 months ago

Thanks for reporting this. Would you mind checking if this also is a problem with https://github.com/psanford/wormhole-william? I'm only passing in a reader and hence I think that it might be keeping hold of previously sent data.