Question / Help If anyone could help me figure out this memory leak issue, that'd be great.

Joshua Knight

New Member
PLEASE someone help me. I've been trying to fix this memory leak issue for days with no fix in sight. Both Streamlabs OBS and OBS both memory leak. Log is attached.
 

Attachments

  • 2018-04-27 19-36-07.txt
    22 KB · Views: 423

Joshua Knight

New Member
No, generally speaking, when you have a memory leak within OBS, your CPU usage (regardless of encoder) just continually rises and rises and consequently your FPS drops until theoretically programs would start crashing because OBS would literally use 100% of your CPU.
 

RytoEX

Forum Admin
Forum Moderator
Developer
The memory leaks listed in your log are probably from the Browser Source in your Fortnite scene, as there are some known memory leaks in Browser Source 1.31.0 and older. Those memory leaks are fairly small (a few bytes per leak, I think, a few kilobytes at most), so they should be relatively harmless unless you have hundreds of them.

As far as I know, all memory leaks in the Browser Source have been fixed, and a new version will be released at some future date (probably at the next major OBS release). I can't really comment on your problems with Streamlabs OBS.
 

Suslik V

Active Member
Duplicate your current Scene Collection and start to remove the sources one by one until you find the source that cause the leakage (this is general steps to find the leakage). As were mentioned by @RytoEX, start from browser source, then video capture device source (webcam), then others.

If you have any crash-logs from OBS Studio, please post them too (Help menu).
 

Osiris

Active Member
No, generally speaking, when you have a memory leak within OBS, your CPU usage (regardless of encoder) just continually rises and rises and consequently your FPS drops until theoretically programs would start crashing because OBS would literally use 100% of your CPU.

A memory leak causes increasing use of memory, not CPU..
 

Joshua Knight

New Member
Duplicate your current Scene Collection and start to remove the sources one by one until you find the source that cause the leakage (this is general steps to find the leakage). As were mentioned by @RytoEX, start from browser source, then video capture device source (webcam), then others.

If you have any crash-logs from OBS Studio, please post them too (Help menu).

It's definitely related to a Browser Source issue because OBS without Browser Source not installed doesn't leak at all. Not sure what specifically causes a memory leak however.
 

Joshua Knight

New Member
A memory leak causes increasing use of memory, not CPU..

I've heard and read that a memory leak causes your CPU usage to rise until theoretically it would max your CPU out and programs would start to crash? Either way, my CPU usage WAS rising until FPS was affected when I used OBS with Browser source installed and ever since I installed OBS without Browser source, I get zero memory leaks and my CPU usage also doesn't rise. Keep in mind, I don't even use the X264 encoder. I've used NVENC for quite some time.
 

Joshua Knight

New Member
And here is a recent log without Browser source installed for anyone that is curious.
 

Attachments

  • 2018-04-28 19-50-44.txt
    15.6 KB · Views: 80

Osiris

Active Member
I've heard and read that a memory leak causes your CPU usage to rise until theoretically it would max your CPU out and programs would start to crash? Either way, my CPU usage WAS rising until FPS was affected when I used OBS with Browser source installed and ever since I installed OBS without Browser source, I get zero memory leaks and my CPU usage also doesn't rise. Keep in mind, I don't even use the X264 encoder. I've used NVENC for quite some time.

No, that is not a memory leak, a memory leak has nothing to do with CPU usage.
Browser source also uses CPU and GPU and how much depends on whatever you have running in the browser source.
 

Joshua Knight

New Member
No, that is not a memory leak, a memory leak has nothing to do with CPU usage.
Browser source also uses CPU and GPU and how much depends on whatever you have running in the browser source.

Well something is weird then cause my CPU usage doesn't move when I stream without Browser source installed but destroys everything when I use OBS with Browser source installed. What it comes down to is I need to figure out how to fix the issue because Browser source is the only way I know of utilizing alerts and no alerts is no bueno IMO.
 
Top