unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36100: Jami leaks memory
@ 2019-06-01 14:08 sirgazil
  2019-06-12 12:15 ` Ludovic Courtès
  2020-09-27 19:43 ` sirgazil via Bug reports for GNU Guix
  0 siblings, 2 replies; 7+ messages in thread
From: sirgazil @ 2019-06-01 14:08 UTC (permalink / raw)
  To: 36100

Hello,

When I run Jami in the GNU system installed with Guix, I see that its process called ".gnome-ring-rea" starts using around 36 MiB, but then increases over time at slow pace. After some hours, I notice it reaches 1 GiB of memory usage. I have to finalize the process to release memory. 

This happens even when you are not doing anything in the application.


## Steps to reproduce (using GNOME)

1. $ guix install jami-client-gnome
2. Press Alt+F2 and run "ring.cx"
    [2.1 Create a Jami account]
3. Press Alt+F2 and run "gnome-system-monitor"
4. Click on "Processes"
5. Locate the ".gnome-ring-rea" process
6. Observe the "Memory" usage for a few hours

I don't know if step 2.1 is necessary, but I already had an account created when I noticed the problem for the first time.


## System information

```
$ guix describe
Generation 2	May 20 2019 10:23:06	(current)
  guix 0655c16
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 0655c16e7561cffe2fe26bd9b24af1a0efc2c859
```


---
https://sirgazil.bitbucket.io/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36100: Jami leaks memory
  2019-06-01 14:08 bug#36100: Jami leaks memory sirgazil
@ 2019-06-12 12:15 ` Ludovic Courtès
  2019-06-12 17:20   ` sirgazil
  2020-09-27 19:43 ` sirgazil via Bug reports for GNU Guix
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2019-06-12 12:15 UTC (permalink / raw)
  To: sirgazil; +Cc: 36100

Hi sirgazil,

sirgazil <sirgazil@zoho.com> skribis:

> When I run Jami in the GNU system installed with Guix, I see that its process called ".gnome-ring-rea" starts using around 36 MiB, but then increases over time at slow pace. After some hours, I notice it reaches 1 GiB of memory usage. I have to finalize the process to release memory. 

Do you think it’s a Guix-specific issue?

I would expect it to not be Guix-specific.  Could you report the issue
upstream?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36100: Jami leaks memory
  2019-06-12 12:15 ` Ludovic Courtès
@ 2019-06-12 17:20   ` sirgazil
  2019-06-12 20:41     ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: sirgazil @ 2019-06-12 17:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36100

---- On Wed, 12 Jun 2019 07:15:36 -0500 Ludovic Courtès <ludo@gnu.org> wrote ----

 > Hi sirgazil, 
 >  
 > sirgazil <sirgazil@zoho.com> skribis: 
 >  
 > > When I run Jami in the GNU system installed with Guix, I see that its process called ".gnome-ring-rea" starts using around 36 MiB, but then increases over time at slow pace. After some hours, I notice it reaches 1 GiB of memory usage. I have to finalize the process to release memory. 
 >  
 > Do you think it’s a Guix-specific issue? 
 >  
 > I would expect it to not be Guix-specific.  Could you report the issue 
 > upstream? 


Oh, I think one of my messages about this issue didn't arrived. The leak in the version available in Guix is known and fixed upstream.

I thought that maybe this bug report could be used as a reminder to update the package definition of Jami in Guix to a version that fixes the leak?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36100: Jami leaks memory
  2019-06-12 17:20   ` sirgazil
@ 2019-06-12 20:41     ` Ludovic Courtès
  2019-06-12 22:15       ` sirgazil
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2019-06-12 20:41 UTC (permalink / raw)
  To: sirgazil; +Cc: 36100

sirgazil <sirgazil@zoho.com> skribis:

> ---- On Wed, 12 Jun 2019 07:15:36 -0500 Ludovic Courtès <ludo@gnu.org> wrote ----
>
>  > Hi sirgazil, 
>  >  
>  > sirgazil <sirgazil@zoho.com> skribis: 
>  >  
>  > > When I run Jami in the GNU system installed with Guix, I see that its process called ".gnome-ring-rea" starts using around 36 MiB, but then increases over time at slow pace. After some hours, I notice it reaches 1 GiB of memory usage. I have to finalize the process to release memory. 
>  >  
>  > Do you think it’s a Guix-specific issue? 
>  >  
>  > I would expect it to not be Guix-specific.  Could you report the issue 
>  > upstream? 
>
>
> Oh, I think one of my messages about this issue didn't arrived. The leak in the version available in Guix is known and fixed upstream.

Nice.  Should we apply their patch, or upgrade our package?

> I thought that maybe this bug report could be used as a reminder to update the package definition of Jami in Guix to a version that fixes the leak?

I think it’s better if the bug report is actionable.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36100: Jami leaks memory
  2019-06-12 20:41     ` Ludovic Courtès
@ 2019-06-12 22:15       ` sirgazil
  2019-06-13  7:30         ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: sirgazil @ 2019-06-12 22:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36100

---- On Wed, 12 Jun 2019 15:41:42 -0500 Ludovic Courtès <ludo@gnu.org> wrote ----

 > sirgazil <sirgazil@zoho.com> skribis: 
 >  
 > > ---- On Wed, 12 Jun 2019 07:15:36 -0500 Ludovic Courtès <ludo@gnu.org> wrote ---- 
 > > 
 > >  > Hi sirgazil, 
 > >  > 
 > >  > sirgazil <sirgazil@zoho.com> skribis: 
 > >  > 
 > >  > > When I run Jami in the GNU system installed with Guix, I see that its process called ".gnome-ring-rea" starts using around 36 MiB, but then increases over time at slow pace. After some hours, I notice it reaches 1 GiB of memory usage. I have to finalize the process to release memory. 
 > >  > 
 > >  > Do you think it’s a Guix-specific issue? 
 > >  > 
 > >  > I would expect it to not be Guix-specific.  Could you report the issue 
 > >  > upstream? 
 > > 
 > > 
 > > Oh, I think one of my messages about this issue didn't arrived. The leak in the version available in Guix is known and fixed upstream. 
 >  
 > Nice.  Should we apply their patch, or upgrade our package? 


Hmm, I'm really ignorant about what would be best. As a desktop user, I think anything that allows me to install and use Jami without leaks.


 > > I thought that maybe this bug report could be used as a reminder to update the package definition of Jami in Guix to a version that fixes the leak? 
 >  
 > I think it’s better if the bug report is actionable. 


Sorry, Ludo, I don't understand what actionable means in this context.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36100: Jami leaks memory
  2019-06-12 22:15       ` sirgazil
@ 2019-06-13  7:30         ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2019-06-13  7:30 UTC (permalink / raw)
  To: sirgazil; +Cc: 36100

Hi sirgazil,

sirgazil <sirgazil@zoho.com> skribis:

>  > > I thought that maybe this bug report could be used as a reminder to update the package definition of Jami in Guix to a version that fixes the leak? 
>  >  
>  > I think it’s better if the bug report is actionable. 
>
>
> Sorry, Ludo, I don't understand what actionable means in this context.

What I mean is that the bug should highlight something we, Guix people,
can do about it.  If it were reporting a purely upstream issue, there’s
little we can do on our side, apart from upgrading or applying fixes
available upstream.

I hope that makes sense!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36100: Jami leaks memory
  2019-06-01 14:08 bug#36100: Jami leaks memory sirgazil
  2019-06-12 12:15 ` Ludovic Courtès
@ 2020-09-27 19:43 ` sirgazil via Bug reports for GNU Guix
  1 sibling, 0 replies; 7+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-09-27 19:43 UTC (permalink / raw)
  To: 36100-done

I'm closing this issue because the package the report was filed against was removed from Guix:

gnu: jami-client-gnome: Remove deprecated package.
commit 8551bc64e4322080ef07b5009f4d46229df8d6f3
Date:   Sun Jul 12 18:00:46 2020 +0200

Also, there is a new package for Jami that I tried out:

Guix System 97e98e2
Jami 20200710.1.6bd18d2

I followed the steps below to try reproduce the issue with this new version and I could not see any memory leak.

1. $ guix install jami
2. Press Alt+F2 and run "jami"
    2.1. Create a Jami account
3. Press Alt+F2 and run "gnome-system-monitor"
4. Click on "Processes"
5. Locate the "jami" process
6. Observe the "Memory" use for a few hours

Problem solved.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-09-27 21:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-01 14:08 bug#36100: Jami leaks memory sirgazil
2019-06-12 12:15 ` Ludovic Courtès
2019-06-12 17:20   ` sirgazil
2019-06-12 20:41     ` Ludovic Courtès
2019-06-12 22:15       ` sirgazil
2019-06-13  7:30         ` Ludovic Courtès
2020-09-27 19:43 ` sirgazil via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).