Bug Report Out of memory

NoSFeRaTU

New Member
Got this message yesterday first time for entire time which I'm using obs(from very first versions). Output was set to File only. MP4 vod of course was trashed because moov atom not writed.

Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 Ti  
  Video Adapter Dedicated Video Memory: 2096562176
  Video Adapter Shared System Memory: 2147364864
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using quad speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4500
    buffer size: 4500
    quality: 10
------------------------------------------
Total frames rendered: 126, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using quad speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4500
    buffer size: 4500
    quality: 10
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Total frames rendered: 100332, number of frames that lagged: 15 (0.01%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using bitmap image
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 4500
    buffer size: 4500
    quality: 10
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Warning -- MMDeviceAudioSource::GetBuffer: GetNextPacketSize failed
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Slide Show
Using bitmap image
Using text output

Error: Out of memory
 

micechal

Member
What about your RAM usage when recording? Are you on 64-bit system? If yes, you could use the 64-bit version. Have you been running something RAM-heavy in background?
 

NoSFeRaTU

New Member
micechal said:
What about your RAM usage when recording?
I'm not monitoring this constantly, but all time I check obs.exe consumes about 500Mb of RAM. My system have 16G of RAM,
micechal said:
Are you on 64-bit system? If yes, you could use the 64-bit version.
I have 64bit system, but I'm using sc2scenechanger plugin and there is only 32bit version available. So using 64bit version is not possible for me until R1CH compiled 64bit version, publish it's source code or I write my own plugin for automatic scene switching. :(
micechal said:
Have you been running something RAM-heavy in background?
No, nothing special was running... As usual: skype, starcraft and obs. After error I immediately start recording again and It was fine to the end (about 2-3 hours). Looks like rare memory leak in obs for me.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I'll check this out to see if there's a memory leak having to do with any of the sources you were using
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I actually think I know what's causing the problem. Thanks again for pointing it out. Also, were you using animated gifs?
 

NoSFeRaTU

New Member
No, i'm not using animated gifs. I have three scenes:
1) For breaks: with one static image source(JPG).
2) For ingame menus: with one global source monitor capture
3) For games: with global source monitor capture, static image for overlay(PNG), image slide show source for logoes(PNG, which currently have only one image) and text source from file for songs titles (which was empty on time of accident as I don't run audio player that time).
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hm, seems I'm having difficulty finding any memory leaks unrelated to animated gifs. I did find one for animated gifs, but not outside of that. I'll try to emulate exactly what you're doing and see if I can't find it that way
 
Top