Question / Help Number of memory leaks: X

blocikinio

New Member
Hi guys
I wonder why I got memory leaks? I tried different configs. Even disabled all non-windows services via msconfig still did not resolve the problem.
There is no difference between x264 and h264.
There are always 17 memory leaks or 19. It depends.
 

Attachments

  • 2017-01-09 16-56-09.txt
    25.9 KB · Views: 191
  • 2017-01-09 16-56-09.txt
    25.9 KB · Views: 60
  • 2017-01-08 23-49-56.txt
    14.6 KB · Views: 45
  • 2017-01-08 21-16-00.txt
    32.2 KB · Views: 57

Harold

Active Member
It wouldn't surprise me if most of the problems come from you having a killer networks network adapter.
 

Suslik V

Active Member
where you have just 1 memory leak - it is probably caused by game capture or window capture source itself (maybe would be resolved, someday:). Just leave single scene (create new Scene Collection, and disable all sound devices in OBS Studio Settings>Audio), add 'Game Capture' source, switch to the game for ~10 minutes, close obs studio, look at the log for the leakage (post last log).
 

blocikinio

New Member
I will do that tomorrow and post it. However tell me should I record or stream to check the leak or just leave obs itself?
 

style1925

New Member
Try deleting all browser sources. (Or hide source)
Restart OBS Studio after deleting or hide.
After restarting, exit OBS Studio and check the log file.
Probably the memory leak is 1.
(Using browser source increases the number.)

Additional notes
It becomes 1 if browser source is installed.
It becomes 0 if browser source is not installed.
 
Last edited:
My log says I have 23 leaks but I can stream for hours no issue. Memory not filling up or anything. Very stable, wish it would be more detail instead of 23 leaks. I just ignore it and move on there isn't a way to find these leaks. At least I haven't seen any.
 

blocikinio

New Member
It's not about Memory fill. It's all about CPU Usage. If you got leak your cpu usage getting higher.
Reinstalled my os fully. Still no difference.
 

Attachments

  • 2017-01-11 22-51-18.txt
    20.5 KB · Views: 90

Suslik V

Active Member
@blocikinio you have a lot of leaks when you stream only. As an option you can place another network card in to your PC (something simple, at 100 mbps).

If you can reproduce:
  1. leave single scene (create new Scene Collection, and disable all sound devices in OBS Studio Settings>Audio)
  2. add 'Game Capture' source
  3. switch to the game for ~10 minutes (no stream, no recording)
  4. close game
  5. close obs studio
  6. Then upload this log if it has at least 1 leakage.
 

Suslik V

Active Member
Also, maybe this is looks a bit stupid, but can you:
  1. remove the 'Game Capture' source (scene is empty now)
  2. add 'Image' source
  3. as image file use any picture from 256x256 to 4096x4096 size (screenshot maybe of something, or whatever)
  4. restart OBS Studio
  5. again switch to the game (play it same amount of time as before, ~10 min, no record, no stream)
  6. close game
  7. close OBS Studio
  8. upload log file from this attempt (probably no leaks)
 

blocikinio

New Member
  1. again switch to the game (play it same amount of time as before, ~10 min)
    I do not know what you mean here. Remove image source and add game capture?
 

Suslik V

Active Member
To be sure that leakage is 'Game Capture' source related (not rendering engine etc.) you replacing it with the other source. But all actions as it was for casual capturing.
 
Top