jackburton79 / bescreencapture

BeScreenCapture - Screen Capture software for Haiku
BSD 3-Clause "New" or "Revised" License
7 stars 10 forks source link

Program memory usage issues #66

Closed MilkGolium closed 2 months ago

MilkGolium commented 2 months ago

Hi, I was trying to record something on Haiku R1/Beta2 but ran into some issues. The program's memory usage kept increasing while recording, until it ran out of memory, using swap space and causing system freezes.

Another issue was that after finishing recording and encoding, the memory was not automatically released, and I had to exit the program to do so.

Thanks!

video.zip CPU: Intel Celeron 1037U 1.8Ghz RAM: 2GB 1333MHz Disk: Seagate HDD 500GB SATA

jackburton79 commented 2 months ago

Is it really Beta/2? I recall a memory leak in haiku mediakit which was fixed at some point. Might be that one (or a new one if you meant beta/4)

jackburton79 commented 2 months ago

Ok, I found the leak in BeScreenCapture. It's a regression. Fixing now.

jackburton79 commented 2 months ago

Thanks for the report! It's fixed in the new release (2.9.1) which should be merged soon in Haikuports.

MilkGolium commented 2 months ago

Is it really Beta/2? I recall a memory leak in haiku mediakit which was fixed at some point. Might be that one (or a new one if you meant beta/4)

Oh, I'm so sorry, it's beta4, I wrote it wrong.

jackburton79 commented 2 months ago

No worries it was my fault in the end 😅