From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sMuWENHOiGTAmAAASxT56A (envelope-from ) for ; Tue, 13 Jun 2023 22:17:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yN+SENHOiGSZTQEA9RJhRA (envelope-from ) for ; Tue, 13 Jun 2023 22:17:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E86E01A5BF for ; Tue, 13 Jun 2023 22:17:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8wv7-0000sI-ND; Tue, 13 Jun 2023 01:50:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8h5v-0002CW-4V for help-guix@gnu.org; Mon, 12 Jun 2023 08:56:27 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8h5s-0006Qs-Qw for help-guix@gnu.org; Mon, 12 Jun 2023 08:56:26 -0400 X-GND-Sasl: contact@robbyzambito.me X-GND-Sasl: contact@robbyzambito.me Received: by mail.gandi.net (Postfix) with ESMTPSA id 5135FE0007; Mon, 12 Jun 2023 12:56:19 +0000 (UTC) References: User-agent: mu4e 1.10.2; emacs 28.2 From: Robby Zambito To: Ott Joon Cc: help-guix Subject: Re: OBS Studio memory leak Date: Mon, 12 Jun 2023 08:49:42 -0400 In-reply-to: Message-ID: <87y1kozvny.fsf@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.196; envelope-from=contact@robbyzambito.me; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 13 Jun 2023 01:50:20 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686687441; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Czhu5bChcptFMaAXrqIY8jjVYzTAV6p6b/hB/wuswsA=; b=nL9AZ9hUPfXGca70zAwMEGyNmHea8wIH3NkKLJ7IqGmVGJrLlgLhGp/AWvD+OwI4u/15o/ r8DnuAy7rm7w2aKgczd8lfAz4qWr+rygZfu8Zm4pS6dEJ+w1FHx6VZ43QnsPLITc5FM3Yh iCt11qUBJpnLAkYodMRHp/pKHTzw3a3KOhihYTXaSny3QjLK2uaUENhjOWlS0s0NMptzgx Wz4QBIW3FGMujkOcbidZ6LWGd45nilobmL+eEHIkG+3GkFdImctsRmV2oufneGRzACeXch vj3HCV9fTx+6ELAumTWPZjxBRmASDH23/CeyoLNYmUaHXxN/wh6sJeRXrWq8wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686687441; a=rsa-sha256; cv=none; b=o9TvErPzjoz39WqyCeRidDGhfj63qj2ITrud3Eu8DWtrLSJ6Ew0m97cDDtvOToLdIGiPhu +zYdmcr0YMa9odFIqKc5buZABh/sKZOcaJ48tcjAfZGkmzkrKg4Gr0RFuRY5Fn8wkCfGhC GCuc81Ag/xwK4yhbzfA6nYy/yIqoycNIgN0yCm1s7llV/hr/RaSv8GcIgo9TM7jYaliG3V 8eybMRXbcxQ8NkmM6HK5MYEmFbFJVSnjrL9VeA7LvvaZFkJMyWAn7G5yIkvla3mf+ll2lX HNvcsxwJRZrky3/XqW/PAnYvxO17D7BnqslxsH1tBMmxGvlHqlJeBfqPXjfDmg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E86E01A5BF X-Spam-Score: -2.12 X-TUID: 8hCGEtalAxDh Ott Joon writes: > Hey there > > I have the exact same issue and I think this has to do with > gstreamer. Some other programs are also affected by this bug. What > seems to happen is the gst-plugin-scanner starts searching for plugins > and just doesn't finish and leaks memory a ton. My 128GB of RAM will > be full in seconds if I launch anything that uses gstreamer. Even > virt-manager if you have gst-plugin-* packages installed as then the > gst-plugin-scanner is awakened. I had to remove them or unset > GST_PLUGIN_SYSTEM_PATH. Unfortunately OBS seems to have this feature > built in, so it's not something you can remove. This is all I know at > the moment. > > Ott Hi Ott, Thanks for the lead. I tried pinning gstreamer and gst-plugins-base to older versions available in Guix, and removing gst-plugins-base from being an input to OBS (though I'm not positive this removes it from all recursive inputs), but I'm still having the issue :( Here is what I have so far: (let ((parent (specification->package "obs"))) (package (inherit parent) (inputs (modify-inputs (package-inputs parent) (replace "gstreamer" ((options->transformation '((with-version . "gstreamer=1.20.3"))) (specification->package "gstreamer"))) (replace "gst-plugins-base" ((options->transformation '((with-version . "gst-plugins-base=1.20.3"))) (specification->package "gst-plugins-base"))))))) Also tried with (remove "gst-plugins-base") instead of the replace. Robby