You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
memory has always been leaking a little bit (eg go from 4 gb to 5 gb after running for 5 days roughly) but it was reaching 10 gb after 3 days roughly (not acceptable)
previous implementation with dashmap had deadlocks (and only supported audio), usually we prefer to use channels
this feature is useful to improve the experience for:
people switching audio device and monitor devices regularly (commuting for work etc.) (e.g. --use-all-monitors argument to always record all monitors for example)
privacy preserving use cases
control resource usage dynamically
other use cases
definition of done:
--use-all-monitors always record all monitor available, and stop recording when it's unplugged
running screenpipe for 3 days, while having meetings, working, etc. and the memory stays under 4.5 gb, and CPU roughly the same (10-30% on my mac book pro m4 max)
context:
had implemented a device manager that allows you to start and stop audio device recording or monitor recording using HTTP API
https://github.com/mediar-ai/screenpipe/tree/af0042683a0c7fd15d78d286da97ab9c1610af00
https://github.com/mediar-ai/screenpipe/blob/af0042683a0c7fd15d78d286da97ab9c1610af00/screenpipe-core/src/devices.rs
had to revert because it was memory leaking:
54ed2f1
memory has always been leaking a little bit (eg go from 4 gb to 5 gb after running for 5 days roughly) but it was reaching 10 gb after 3 days roughly (not acceptable)
previous implementation with dashmap had deadlocks (and only supported audio), usually we prefer to use channels
this feature is useful to improve the experience for:
--use-all-monitors
argument to always record all monitors for example)definition of done:
--use-all-monitors
always record all monitor available, and stop recording when it's unpluggedmake this work reliably and prove it's not memory leaking
/bounty 400
bonus bounty:
--use-all-default-audio-devices
always record all default audio devicesThe text was updated successfully, but these errors were encountered: