Memory Leak with Twitch Guest Star

RandomKarl

New Member
Hi guys, I used to use Twitch Guest Star fine but in the last month or so it causes OBS to have high RAM usage with 1 guest and guarantees a crash with 2 or more guests. There doesn't have to be a guest on the call, as long as the sources are visible and Guest Star is active it will crash and RAM increases 1% per second.

Tried versions 27 - 30 and all suffer same issue, with 27 coping slightly better. I've also had two other streamer friends see the same issue on their setup.

Log snippet below...
15:47:48.958: [obs-browser: 'Guest Star 1'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGRB77V4DHRQ3308N1YE7. GetGuestStarSelfTokenQuery: unauthenticated [object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:49.375: [obs-browser: 'Guest Star 1'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGRK3BDCMEVWT80Q0HK13. GetGuestStarSessionQuery: unauthenticated, GetGuestStarBrowserSourceList: service error, GetHostQueueInfo: unauthenticated [object Object],[object Object],[object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:49.668: [obs-browser: 'Guest Star 2'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGS03KWHZY0N2RPZRF3WH. GetGuestStarSelfTokenQuery: unauthenticated [object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:50.049: [obs-browser: 'Guest Star 2'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGS9A21JS0DV8PH64FW71. GetGuestStarSessionQuery: unauthenticated, GetGuestStarBrowserSourceList: service error, GetHostQueueInfo: unauthenticated [object Object],[object Object],[object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:50.639: [obs-browser: 'Guest Star 3'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGSV984K1AAYVH51TTD4V. GetGuestStarSelfTokenQuery: unauthenticated [object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:50.999: [obs-browser: 'Guest Star 3'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGT7P09AT9723SE7W4WKN. GetGuestStarSessionQuery: unauthenticated, GetGuestStarBrowserSourceList: service error, GetHostQueueInfo: unauthenticated [object Object],[object Object],[object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:51.583: [obs-browser: 'Guest Star 4'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGTNDM7TB08QBM1KX50BB. GetGuestStarSelfTokenQuery: unauthenticated [object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:47:51.946: [obs-browser: 'Guest Star 4'] Error: [GraphQL] One or more GraphQL errors were detected on request 01HCQAGV54MST0TXQGB6MQPYMH. GetGuestStarSessionQuery: unauthenticated, GetGuestStarBrowserSourceList: service error, GetHostQueueInfo: unauthenticated [object Object],[object Object],[object Object] (https://static.twitchcdn.net/assets/sunlight-overlay-4343a9200a95f0f5d30e.js:1)
15:49:17.460: [obs-browser: 'Blerp Sounds'] Error: heart_beat_check_server_client_callback exfk3tgiyekn (https://obs.blerp.com/pwn/exfk3tgiyekn:1090)
15:50:52.452: [obs-browser: 'Blerp Sounds'] Error: heart_beat_check_server_client_callback exfk3tgiyekn (https://obs.blerp.com/pwn/exfk3tgiyekn:1090)
15:52:27.455: [obs-browser: 'Blerp Sounds'] Error: heart_beat_check_server_client_callback exfk3tgiyekn (https://obs.blerp.com/pwn/exfk3tgiyekn:1090)
15:52:47.992: Virtual output stopping
15:52:48.007: Output 'virtualcam_output': stopping
15:52:48.009: Output 'virtualcam_output': Total frames output: 253020
15:52:48.009: Output 'virtualcam_output': Total drawn frames: 253022
15:52:48.012: Virtual output stopped
15:52:48.107: ==== Virtual Camera Stop ===========================================
15:52:50.390: ==== Shutting down ==================================================
15:52:50.597: WASAPI: Device 'Wave Link Stream (Elgato Wave:3)' Terminated
15:52:51.347: All scene data cleared
15:52:51.347: ------------------------------------------------
15:52:51.572: Tried to call obs_frontend_remove_event_callback with no callbacks!
15:52:51.587: [obs-websocket] [obs_module_unload] Shutting down...
15:52:51.589: Tried to call obs_frontend_remove_event_callback with no callbacks!
15:52:51.589: [obs-websocket] [obs_module_unload] Finished shutting down.
15:53:12.941: [Scripting] Total detached callbacks: 0
15:53:12.945: Freeing OBS context data
15:53:13.179: == Profiler Results =============================
15:53:13.179: run_program_init: 3112.23 ms
15:53:13.179: ┣OBSApp::AppInit: 21.733 ms
15:53:13.179: ┃ ┗OBSApp::InitLocale: 2.402 ms
15:53:13.179: ┗OBSApp::OBSInit: 3041.73 ms
15:53:13.179: ┣obs_startup: 6.165 ms
15:53:13.179: ┗OBSBasic::OBSInit: 2710.82 ms
15:53:13.179: ┣OBSBasic::InitBasicConfig: 0.717 ms
15:53:13.179: ┣OBSBasic::ResetAudio: 0.269 ms
15:53:13.179: ┣OBSBasic::ResetVideo: 345.149 ms
15:53:13.179: ┃ ┗obs_init_graphics: 341.509 ms
15:53:13.179: ┃ ┗shader compilation: 154.426 ms
15:53:13.179: ┣OBSBasic::InitOBSCallbacks: 0.022 ms
15:53:13.179: ┣OBSBasic::InitHotkeys: 0.034 ms
15:53:13.179: ┣obs_load_all_modules2: 705.091 ms
15:53:13.179: ┃ ┣obs_init_module(aja-output-ui.dll): 0.35 ms
15:53:13.179: ┃ ┣obs_init_module(aja.dll): 0.178 ms
15:53:13.180: ┃ ┣obs_init_module(coreaudio-encoder.dll): 1.553 ms
15:53:13.180: ┃ ┣obs_init_module(decklink-captions.dll): 0 ms
15:53:13.180: ┃ ┣obs_init_module(decklink-output-ui.dll): 0.001 ms
15:53:13.180: ┃ ┣obs_init_module(decklink.dll): 3.079 ms
15:53:13.180: ┃ ┣obs_init_module(enc-amf.dll): 43.523 ms
15:53:13.180: ┃ ┣obs_init_module(frontend-tools.dll): 5.445 ms
15:53:13.180: ┃ ┣obs_init_module(image-source.dll): 0.014 ms
15:53:13.180: ┃ ┣obs_init_module(obs-browser.dll): 0.55 ms
15:53:13.180: ┃ ┣obs_init_module(obs-ffmpeg.dll): 249.759 ms
15:53:13.181: ┃ ┃ ┗nvenc_check: 1.924 ms
15:53:13.181: ┃ ┣obs_init_module(obs-filters.dll): 230.365 ms
15:53:13.181: ┃ ┣obs_init_module(obs-outputs.dll): 0.028 ms
15:53:13.181: ┃ ┣obs_init_module(obs-qsv11.dll): 69.038 ms
15:53:13.181: ┃ ┣obs_init_module(obs-text.dll): 1.137 ms
15:53:13.181: ┃ ┣obs_init_module(obs-transitions.dll): 0.011 ms
15:53:13.181: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
15:53:13.181: ┃ ┣obs_init_module(obs-webrtc.dll): 0.009 ms
15:53:13.181: ┃ ┣obs_init_module(obs-websocket.dll): 10.416 ms
15:53:13.181: ┃ ┣obs_init_module(obs-x264.dll): 0.003 ms
15:53:13.181: ┃ ┣obs_init_module(rtmp-services.dll): 1.922 ms
15:53:13.181: ┃ ┣obs_init_module(text-freetype2.dll): 0.086 ms
15:53:13.181: ┃ ┣obs_init_module(vlc-video.dll): 0.043 ms
15:53:13.181: ┃ ┣obs_init_module(win-capture.dll): 2.901 ms
15:53:13.181: ┃ ┣obs_init_module(win-dshow.dll): 2.416 ms
15:53:13.181: ┃ ┣obs_init_module(win-wasapi.dll): 0.01 ms
15:53:13.181: ┃ ┣obs_init_module(StreamDeckPlugin.dll): 3.813 ms
15:53:13.181: ┃ ┗reset_win32_symbol_paths: 1.185 ms
15:53:13.181: ┣obs_websocket_request_processing: 0.399 ms
15:53:13.181: ┣OBSBasic::InitService: 2.097 ms
15:53:13.181: ┣OBSBasic::ResetOutputs: 0.52 ms
15:53:13.181: ┣OBSBasic::CreateHotkeys: 0.065 ms
15:53:13.181: ┣OBSBasic::InitPrimitives: 0.276 ms
15:53:13.181: ┗OBSBasic::Load: 334.22 ms
15:53:13.181: obs_hotkey_thread(25 ms): min=0.004 ms, median=0.011 ms, max=6.257 ms, 99th percentile=0.127 ms, 100% below 25 ms
15:53:13.181: audio_thread(Audio): min=0.019 ms, median=0.132 ms, max=14.478 ms, 99th percentile=0.745 ms
15:53:13.181: obs_graphics_thread(33.3333 ms): min=0.092 ms, median=2.264 ms, max=259.178 ms, 99th percentile=6.94 ms, 99.9996% below 33.333 ms
15:53:13.181: ┣tick_sources: min=0.001 ms, median=0.046 ms, max=243.468 ms, 99th percentile=0.487 ms
15:53:13.182: ┣output_frame: min=0.083 ms, median=1.7 ms, max=22.969 ms, 99th percentile=5.6 ms
15:53:13.182: ┃ ┣gs_context(video->graphics): min=0.083 ms, median=0.953 ms, max=20.762 ms, 99th percentile=3.627 ms
15:53:13.182: ┃ ┃ ┣render_video: min=0.008 ms, median=0.771 ms, max=19.929 ms, 99th percentile=2.774 ms
15:53:13.182: ┃ ┃ ┃ ┣render_main_texture: min=0.005 ms, median=0.751 ms, max=19.864 ms, 99th percentile=2.697 ms
15:53:13.182: ┃ ┃ ┃ ┣render_convert_texture: min=0.006 ms, median=0.009 ms, max=1.461 ms, 99th percentile=0.056 ms
15:53:13.182: ┃ ┃ ┃ ┗stage_output_texture: min=0.002 ms, median=0.004 ms, max=0.914 ms, 99th percentile=0.032 ms
15:53:13.182: ┃ ┃ ┣gs_flush: min=0.045 ms, median=0.164 ms, max=15.891 ms, 99th percentile=0.899 ms
15:53:13.182: ┃ ┃ ┗download_frame: min=0 ms, median=0.004 ms, max=8.17 ms, 99th percentile=0.181 ms
15:53:13.182: ┃ ┗output_video_data: min=0.421 ms, median=0.711 ms, max=13.363 ms, 99th percentile=2.165 ms
15:53:13.182: ┗render_displays: min=0 ms, median=0.444 ms, max=6.719 ms, 99th percentile=1.275 ms
15:53:13.182: video_thread(video): min=0.408 ms, median=0.816 ms, max=10.718 ms, 99th percentile=2.343 ms
15:53:13.182: =================================================
15:53:13.182: == Profiler Time Between Calls ==================
15:53:13.182: obs_hotkey_thread(25 ms): min=24.09 ms, median=25.007 ms, max=68.358 ms, 96.1466% within ±2% of 25 ms (0.0206552% lower, 3.83273% higher)
15:53:13.182: obs_graphics_thread(33.3333 ms): min=7.495 ms, median=33.333 ms, max=259.192 ms, 99.9501% within ±2% of 33.333 ms (0.0239693% lower, 0.025934% higher)
15:53:13.182: =================================================
15:53:13.491: Number of memory leaks: 1
 

wewas

New Member
If you are still having issues what I did to solve this was created a new Scene collection in OBS and it resolved my issue.
 
Top