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

sz有时会导致内存爆炸💥 #11

Open
funway opened this issue Jun 13, 2020 · 10 comments
Open

sz有时会导致内存爆炸💥 #11

funway opened this issue Jun 13, 2020 · 10 comments

Comments

@funway
Copy link

funway commented Jun 13, 2020

谢谢你的脚本。
今天发现在发送超过 100mb 大小的文件时候,会出现内存爆炸的情况。iterm2 一下子占满了内存。

检查了一下,应该是 iterm2-send-zmodem.sh 脚本中没有给 sz 命令设置 bufsize

/usr/local/bin/sz "$FILE" -e -b
建议改成:
/usr/local/bin/sz "$FILE" --escape --binary --bufsize 4096

@shuaizzZ
Copy link

修改了,但是同样会崩溃

@olojiang
Copy link

修改了,但是还是会溢出和崩溃

@lucasmaluping
Copy link

mac m1 sz的时候内存爆到100多G,期待修复

@zjfGit
Copy link

zjfGit commented Sep 15, 2022

is it fixed?

@LucasY
Copy link

LucasY commented Feb 27, 2023

大于 2 、300M的时候就会爆了

@PhyCoe
Copy link

PhyCoe commented May 17, 2023

mac pro Intel i5处理器,16G内存;
内存不足警告,iterm2占用显示100+G。
重启电脑,只开终端进行sz文件,压缩文件484M成功下载
(如果实在不行就只能拆文件,分块sz了

@srdfjy
Copy link

srdfjy commented Aug 25, 2023

"The issue is encountered on Mac M2 as well, where the content of a large file sent using 'sz' got corrupted."

@jason-gao
Copy link

某有用啊,兄弟

@zongzi531
Copy link

请问有其他的替代方案吗

@luofh-1990
Copy link

这么久的问题了,还没修复啊

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

No branches or pull requests