-
Notifications
You must be signed in to change notification settings - Fork 716
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
Comments
Merged
修改了,但是同样会崩溃 |
修改了,但是还是会溢出和崩溃 |
mac m1 sz的时候内存爆到100多G,期待修复 |
is it fixed? |
大于 2 、300M的时候就会爆了 |
mac pro Intel i5处理器,16G内存; |
"The issue is encountered on Mac M2 as well, where the content of a large file sent using 'sz' got corrupted." |
某有用啊,兄弟 |
请问有其他的替代方案吗 |
这么久的问题了,还没修复啊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
谢谢你的脚本。
今天发现在发送超过 100mb 大小的文件时候,会出现内存爆炸的情况。iterm2 一下子占满了内存。
检查了一下,应该是 iterm2-send-zmodem.sh 脚本中没有给 sz 命令设置 bufsize
/usr/local/bin/sz "$FILE" -e -b
建议改成:
/usr/local/bin/sz "$FILE" --escape --binary --bufsize 4096
The text was updated successfully, but these errors were encountered: