Re: gnome-keyring -list Digest, Vol 73, Issue 4



Thanks for pointing that out.  Maybe this is related (showing gnome-keyring-d using 1.9G resident memory) (sorry for repeating)

$ top -o RES

top - 08:42:13 up 128 days, 19:42,  6 users,  load average: 4.33, 4.34, 4.23
Tasks: 289 total,   5 running, 283 sleeping,   1 stopped,   0 zombie
%Cpu(s): 79.3 us,  4.8 sy,  0.0 ni, 15.2 id,  0.7 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  16116016 total, 15701516 used,   414500 free,   752428 buffers
KiB Swap: 16456700 total,  3271632 used, 13185068 free.  9000736 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                          
 9697 rleir     20   0 4497836 1.917g   4744 S   0.0 12.5  22:16.17 gnome-keyring-d                                                                                                                  
26484 rleir     20   0 2102952 803176  46512 S   0.0  5.0 171:32.05 firefox   


On Thu, Aug 20, 2015 at 8:00 AM, <gnome-keyring-list-request gnome org> wrote:
Send gnome-keyring-list mailing list submissions to
        gnome-keyring-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.gnome.org/mailman/listinfo/gnome-keyring-list
or, via email, send a message with subject or body 'help' to
        gnome-keyring-list-request gnome org

You can reach the person managing the list at
        gnome-keyring-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gnome-keyring-list digest..."


Today's Topics:

   1.  Secret.Collection.get_label() (xor)


----------------------------------------------------------------------

Message: 1
Date: Wed, 19 Aug 2015 13:02:35 +0100
From: xor <gnome idlecore com>
To: gnome-keyring-list gnome org
Subject: gnome-keyring Secret.Collection.get_label()
Message-ID: <55D4705B 9030905 idlecore com>
Content-Type: text/plain; charset=utf-8; format=flowed

I've read the documentation for the get_label() method at:

https://lazka.github.io/pgi-docs/#Secret-1/classes/Collection.html#Secret.Collection.get_label

There is a note there mentioning that the label returned should be freed
with GLib.free(). I tried that and I get the following error:

ValueError: Pointer arguments are restricted to integers, capsules, and
None. See: https://bugzilla.gnome.org/show_bug.cgi?id=683599

I read the bug report, but I couldn't understand it. I considered the
possibility that the documentation might be outdated, and the label
doesn't required manual memory management anymore. I tried running this
function a million times and see if the memory footprint of my program
would increase. I noticed no increase. I'm still not sure though.

Could someone please clear this up for me?


------------------------------

Subject: Digest Footer

_______________________________________________
gnome-keyring-list mailing list
gnome-keyring-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-keyring-list


------------------------------

End of gnome-keyring-list Digest, Vol 73, Issue 4
*************************************************



--
Rick Leir
Developer, Canadiana.ca


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]