Bug Report High ram usage/memory leak

Psomingno

New Member
I just started having this problem today. Obs goes up to around 10 gb of ram usage on startup making streaming nearly impossible. I've already tried restarting computer, and reinstalling obs so I assume this is a new bug. Here's the log (I can't seem to upload the file for some reason).

19:19:20.672: CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
19:19:20.672: CPU Speed: 4008MHz
19:19:20.672: Physical Cores: 4, Logical Cores: 8
19:19:20.672: Physical Memory: 16333MB Total, 5733MB Free
19:19:20.672: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
19:19:20.672: Running as administrator: false
19:19:20.672: Aero is Enabled (Aero is always on for windows 8 and above)
19:19:20.716: Portable mode: false
19:19:20.962: OBS 20.0.1 (64bit, windows)
19:19:20.962: ---------------------------------
19:19:20.963: ---------------------------------
19:19:20.963: audio settings reset:
19:19:20.963: samples per sec: 48000
19:19:20.963: speakers: 2
19:19:20.990: ---------------------------------
19:19:20.990: Initializing D3D11...
19:19:20.990: Available Video Adapters:
19:19:20.992: Adapter 1: NVIDIA GeForce GTX 1080
19:19:20.992: Dedicated VRAM: 4209704960
19:19:20.992: Shared VRAM: 4268531712
19:19:20.992: output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:19:20.992: output 2: pos={-3840, 0}, size={3840, 2160}, attached=true
19:19:20.992: output 3: pos={1920, 0}, size={1920, 1080}, attached=true
19:19:21.051: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
19:19:21.551: D3D11 loaded successfully, feature level used: 45056
19:19:22.491: ---------------------------------
19:19:22.491: video settings reset:
19:19:22.491: base resolution: 1920x1080
19:19:22.491: output resolution: 1920x1080
19:19:22.491: downscale filter: Lanczos
19:19:22.491: fps: 60/1
19:19:22.491: format: NV12
19:19:22.492: Audio monitoring device:
19:19:22.492: name: Default
19:19:22.492: id: default
19:19:22.493: ---------------------------------
19:19:22.679: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
19:19:22.833: [CoreAudio encoder]: Adding CoreAudio AAC encoder
19:19:22.986: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
19:19:22.986: Failed to initialize module 'enc-amf.dll'
19:19:23.575: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
19:19:23.600: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
19:19:23.655: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
19:19:23.681: Failed to load 'en-US' text for module: 'obs-browser.dll'
19:19:23.681: [browser_source: 'Version: 1.29.0']
19:19:24.248: NVENC supported
19:19:25.935: Couldn't find VLC installation, VLC video source disabled
19:19:26.658: LoadLibrary failed for '../../obs-plugins/64bit/widevinecdmadapter.dll': The specified module could not be found.
19:19:26.658: (126)
19:19:26.658: Module '../../obs-plugins/64bit/widevinecdmadapter.dll' not found
19:19:26.846: No blackmagic support
19:19:27.416: ---------------------------------
19:19:27.416: Loaded Modules:
19:19:27.416: win-wasapi.dll
19:19:27.416: win-mf.dll
19:19:27.416: win-dshow.dll
19:19:27.416: win-decklink.dll
19:19:27.416: win-capture.dll
19:19:27.416: vlc-video.dll
19:19:27.416: text-freetype2.dll
19:19:27.416: rtmp-services.dll
19:19:27.416: obs-x264.dll
19:19:27.416: obs-vst.dll
19:19:27.416: obs-transitions.dll
19:19:27.416: obs-text.dll
19:19:27.416: obs-qsv11.dll
19:19:27.416: obs-outputs.dll
19:19:27.416: obs-filters.dll
19:19:27.416: obs-ffmpeg.dll
19:19:27.416: obs-browser.dll
19:19:27.416: image-source.dll
19:19:27.416: frontend-tools.dll
19:19:27.416: enc-amf.dll
19:19:27.416: coreaudio-encoder.dll
19:19:27.416: ---------------------------------
19:19:27.416: ==== Startup complete ===============================================
19:19:27.588: All scene data cleared
19:19:27.588: ------------------------------------------------
19:19:27.677: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
19:19:27.687: WASAPI: Device 'Headphones (High Definition Audio Device)' initialized
19:19:27.691: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
19:19:27.781: adding 85 milliseconds of audio buffering, total audio buffering is now 85 milliseconds
19:20:53.951: init_animated_gif: Failed to initialize gif 'E:/Alan/The Forbiddon Folder/IMAGES's/Backgrounds/tumblr_mywhlqSpXZ1qidkpwo2_1280.gif', possible file corruption
19:20:53.971: [image_source: '(null)'] failed to load texture 'E:/Alan/The Forbiddon Folder/IMAGES's/Backgrounds/tumblr_mywhlqSpXZ1qidkpwo2_1280.gif'
19:20:59.544: Switched to scene 'PLease wait'
19:20:59.639: ------------------------------------------------
19:20:59.639: Loaded scenes:
19:20:59.639: - scene 'Desktop':
19:20:59.657: - source: 'Display Capture' (monitor_capture)
19:20:59.657: - scene 'PLease wait':
19:20:59.657: - source: 'Image Slide Show' (slideshow)
19:20:59.657: - source: 'Please wait' (text_ft2_source)
19:20:59.657: - source: 'BrowserSource 2' (browser_source)
19:20:59.657: - scene 'ingame':
19:20:59.657: - source: 'Game Capture 3' (game_capture)
19:20:59.657: - source: 'Window Capture' (window_capture)
19:20:59.657: - source: 'bravesexvius' (game_capture)
19:20:59.657: - source: 'BrowserSource 2' (browser_source)
19:20:59.657: - scene 'inqueue':
19:20:59.657: - source: 'Image Slide Show 2' (slideshow)
19:20:59.657: - source: 'Game Capture 3' (game_capture)
19:20:59.657: - source: 'Window Capture' (window_capture)
19:20:59.657: - source: 'bravesexvius' (game_capture)
19:20:59.657: - source: 'BrowserSource 2' (browser_source)
19:20:59.657: - scene 'browser':
19:20:59.657: ------------------------------------------------
19:27:32.558: adding 298 milliseconds of audio buffering, total audio buffering is now 384 milliseconds
19:27:57.904: ==== Shutting down ==================================================
19:27:58.302: Switched to scene '(null)'
19:27:59.460: WASAPI: Device 'Speakers (High Definition Audio Device)' Terminated
19:27:59.489: WASAPI: Device 'Headphones (High Definition Audio Device)' Terminated
19:27:59.492: WASAPI: Device 'Microphone (High Definition Audio Device)' Terminated
19:27:59.495: All scene data cleared
19:27:59.495: ------------------------------------------------
19:28:00.072: Freeing OBS context data
19:28:03.489: == Profiler Results =============================
19:28:03.489: run_program_init: 102165 ms
19:28:03.489: ┣OBSApp::AppInit: 282.521 ms
19:28:03.489: ┃ ┗OBSApp::InitLocale: 175.582 ms
19:28:03.489: ┗OBSApp::OBSInit: 100438 ms
19:28:03.489: ┣obs_startup: 45.968 ms
19:28:03.489: ┗OBSBasic::OBSInit: 99274.9 ms
19:28:03.489: ┣OBSBasic::InitBasicConfig: 0.261 ms
19:28:03.489: ┣OBSBasic::ResetAudio: 0.418 ms
19:28:03.489: ┣OBSBasic::ResetVideo: 1529.45 ms
19:28:03.489: ┣OBSBasic::InitOBSCallbacks: 0.01 ms
19:28:03.489: ┣OBSBasic::InitHotkeys: 0.48 ms
19:28:03.489: ┣obs_load_all_modules: 4923.17 ms
19:28:03.489: ┃ ┣obs_init_module(coreaudio-encoder.dll): 50.008 ms
19:28:03.489: ┃ ┣obs_init_module(enc-amf.dll): 0.617 ms
19:28:03.489: ┃ ┣obs_init_module(frontend-tools.dll): 1.708 ms
19:28:03.489: ┃ ┣obs_init_module(image-source.dll): 0.004 ms
19:28:03.489: ┃ ┣obs_init_module(obs-browser.dll): 0.617 ms
19:28:03.489: ┃ ┣obs_init_module(obs-ffmpeg.dll): 261.778 ms
19:28:03.489: ┃ ┣obs_init_module(obs-filters.dll): 0.018 ms
19:28:03.489: ┃ ┣obs_init_module(obs-outputs.dll): 6.146 ms
19:28:03.489: ┃ ┣obs_init_module(obs-qsv11.dll): 150.371 ms
19:28:03.489: ┃ ┣obs_init_module(obs-text.dll): 1.607 ms
19:28:03.489: ┃ ┣obs_init_module(obs-transitions.dll): 0.005 ms
19:28:03.489: ┃ ┣obs_init_module(obs-vst.dll): 0.004 ms
19:28:03.489: ┃ ┣obs_init_module(obs-x264.dll): 0.005 ms
19:28:03.490: ┃ ┣obs_init_module(rtmp-services.dll): 43.047 ms
19:28:03.490: ┃ ┣obs_init_module(text-freetype2.dll): 0.275 ms
19:28:03.490: ┃ ┣obs_init_module(vlc-video.dll): 0.03 ms
19:28:03.490: ┃ ┣obs_init_module(win-capture.dll): 0.336 ms
19:28:03.490: ┃ ┣obs_init_module(win-decklink.dll): 2.422 ms
19:28:03.490: ┃ ┣obs_init_module(win-dshow.dll): 22.543 ms
19:28:03.490: ┃ ┣obs_init_module(win-mf.dll): 137.331 ms
19:28:03.490: ┃ ┣obs_init_module(win-wasapi.dll): 0.019 ms
19:28:03.490: ┃ ┗reset_win32_symbol_paths: 2.214 ms
19:28:03.490: ┣OBSBasic::ResetOutputs: 150.759 ms
19:28:03.490: ┣OBSBasic::CreateHotkeys: 0.169 ms
19:28:03.490: ┣OBSBasic::InitService: 7.159 ms
19:28:03.490: ┣OBSBasic::InitPrimitives: 0.181 ms
19:28:03.490: ┗OBSBasic::Load: 92080.8 ms
19:28:03.490: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.005 ms, max=391.541 ms, 99th percentile=2.939 ms, 99.9464% below 25 ms
19:28:03.490: audio_thread(Audio): min=0 ms, median=0.048 ms, max=300.466 ms, 99th percentile=0.19 ms
19:28:03.490: obs_video_thread(16.6667 ms): min=0.167 ms, median=1.589 ms, max=91456.8 ms, 99th percentile=55.743 ms, 98.2179% below 16.667 ms
19:28:03.490: ┣tick_sources: min=0.001 ms, median=0.151 ms, max=91270.2 ms, 99th percentile=53.603 ms
19:28:03.490: ┣render_displays: min=0.001 ms, median=0.159 ms, max=265.212 ms, 99th percentile=1.266 ms
19:28:03.490: ┗output_frame: min=0.163 ms, median=1.209 ms, max=400.531 ms, 99th percentile=3.432 ms
19:28:03.490: ┣gs_context(video->graphics): min=0.094 ms, median=0.787 ms, max=399.507 ms, 99th percentile=2.632 ms
19:28:03.490: ┃ ┣render_video: min=0.021 ms, median=0.047 ms, max=399.208 ms, 99th percentile=1.679 ms
19:28:03.490: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.02 ms, max=139.784 ms, 99th percentile=0.095 ms
19:28:03.490: ┃ ┃ ┣render_output_texture: min=0.004 ms, median=0.006 ms, max=1.534 ms, 99th percentile=0.03 ms
19:28:03.490: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.008 ms, max=1.73 ms, 99th percentile=0.027 ms
19:28:03.490: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.004 ms, max=399.158 ms, 99th percentile=1.598 ms
19:28:03.490: ┃ ┣download_frame: min=0 ms, median=0.459 ms, max=170.667 ms, 99th percentile=1.918 ms
19:28:03.490: ┃ ┗gs_flush: min=0.014 ms, median=0.033 ms, max=103.062 ms, 99th percentile=1.521 ms
19:28:03.490: ┗output_video_data: min=0.249 ms, median=0.352 ms, max=15.03 ms, 99th percentile=0.842 ms
19:28:03.490: video_thread(video): min=0 ms, median=0.001 ms, max=0.781 ms, 99th percentile=0.002 ms
19:28:03.490: =================================================
19:28:03.490: == Profiler Time Between Calls ==================
19:28:03.490: obs_hotkey_thread(25 ms): min=24.59 ms, median=25.071 ms, max=416.164 ms, 86.3125% within ±2% of 25 ms (0% lower, 13.6875% higher)
19:28:03.490: obs_video_thread(16.6667 ms): min=1.194 ms, median=16.667 ms, max=91458 ms, 95.0376% within ±2% of 16.667 ms (2.50572% lower, 2.45667% higher)
19:28:03.490: =================================================
19:28:03.599: Number of memory leaks: 11
 

Attachments

  • d67b671b1acca89aff569d146175d626.png
    5.4 KB · Views: 8

Psomingno

New Member
5 on one and a lot on the other, but I've been streaming with it for a few weeks now with little problems. I'll kill it and see if that does anything though.
 
Top