8000 Memory leak with webrtc on elinux · Issue #1807 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

Memory leak with webrtc on elinux #1807

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

Open
rvp-nl opened this issue Apr 2, 2025 · 1 comment
Open

Memory leak with webrtc on elinux #1807

rvp-nl opened this issue Apr 2, 2025 · 1 comment

Comments

@rvp-nl
Copy link
rvp-nl commented Apr 2, 2025

Hi,

I'm trying to solve a noticable memory leak in a webrtc application. The leak eats up all memory and consistently leads to a crash after a limited number (~10) of calls.

The environment is:

  • Arm64 device with ~700 MB RAM, no swap
  • Embedded linux (Yocto)
  • Wayland, weston 8 compositor, no x11
  • Custom libwebrtc.so for wayland, pulseaudio
  • flutter_elinux
  • flutter_webrtc

The application is straightforward so I suspect the leak to be somewhere in the webrtc plugin, flutter (elinux) stack, or libwebrtc.

I could use some advice on finding the cause of the memory leak. Is someone else building custom libwebrtc's for arm devices? I'd like some hints on the huge amount of configuration options as well.

@cloudwebrtc
Copy link
Member

hey, you can follow this repo https://github.com/webrtc-sdk/libwebrtc
to compile the debug version of libwebrtc for arm linux locally. This may help debugging

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

2 participants
0