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

MJpegStreamingServer 内存泄漏的问题 #1

Open
HADB opened this issue Sep 4, 2019 · 0 comments
Open

MJpegStreamingServer 内存泄漏的问题 #1

HADB opened this issue Sep 4, 2019 · 0 comments

Comments

@HADB
Copy link

HADB commented Sep 4, 2019

Hi,感谢作者开源了这么棒的项目。

在使用 MJpegStreamingServer 来做摄像头流直播的时候,发现服务端跑的过程中,内存使用会持续上升,一直撑爆内存,然后直播就崩掉了。查了下,貌似大量的异步 socket 在 .net 下会存在这个我问题。请问作者有解决的思路吗?

另外,在尝试 Cowboy.Sockets 来替换 Gimela.Net.Sockets 的时候,发现 MJpegStreamingServer 发送完头部流之后,后续的图片流总是无法持续发送。请问能提点一下吗?我是将 AsyncTcpServer 的 SyncSend/SendToAll 换成 TcpSocketServer 的 SendTo/BeginBroadcast 了。

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

1 participant