Gajim - 2025-07-11


  1. lockywolf

    500 Mb is a colossal amount of RAM :D

  2. lockywolf

    I think that any program which uses more than 150 mb of RAM has some issues.

  3. lissine

    If you load one thousand 500KB images, that's 500 MB of ram

  4. lovetox

    lockywolf: as always it depends what the program does

  5. chud

    > I think that any program which uses more than 150 mb of RAM has some issues. So basically any actively developed program today?

  6. badrihippo

    Yes

  7. opinionplatform.org 6

    Trailsense app is useful, in background, and uses under 50 MB, if Android can be believed.

  8. mesonium

    We will see what kind of performance optimization can be done later, once basics things work.

  9. Link Mauve

    I remember when my main computer had 192 MiB of RAM, fourteen years ago. :D

  10. Link Mauve

    But with 8 GiB of RAM I don’t care if a single program uses one sixteenth of it, as long as it isn’t a memory leak.

  11. Link Mauve

    Resources are made to be used, and if it provides a feature I want to use then so be it.

    👍 1
  12. chud

    I think a gtk helloworld with python eats like 80mb from the get go if I'm not mistaken.

  13. Link Mauve

    86 MiB indeed, this one: https://www.gtk.org/docs/language-bindings/python/ :)

  14. Link Mauve

    68 MiB if using the cairo renderer.

  15. Link Mauve

    And 67 using OpenGL.

  16. Link Mauve

    And now 67 using Vulkan as well?!

  17. Link Mauve

    Ok, my initial measurement was wrong it seems.

  18. Link Mauve

    58 MiB for cairo now.

  19. Link Mauve

    And 112 MiB with ngl?!

  20. chud

    Might as well just use electron at that point

  21. Link Mauve

    chud, how much is an Electron hello world?

  22. Link Mauve

    I don’t have Chromium installed here.

  23. chud

    IIIRC roughly the same

  24. Link Mauve

    But GTK is much more pleasant to work with than HTML for writing a graphical application.

  25. Link Mauve

    You can’t compare just between memory usage of a hello world.

  26. chud

    Subjective, most people choose Electron. Electron skills = web skills so much much more useful

    🤔 1
  27. chud

    Plus e.g. calls tech is basically built in into electron, like any web browser, while for gtk you only have abandonware or come up with smth yourself

  28. bard

    Still getting the issue after a long time where the GTK file picker that Gajim uses just disappears while I'm scrolling for the right directory to save something. Using Sway. I remember Gajim itself used to crash/close similarly all the time and that actually got fixed eventually.

  29. bard

    For uploading files I have worked around it by dragging and dropping, but for saving files there's not much I can do. Best workaround I know of is to just save it to a non-ideal place as fast as I can and then move the file where I actually want it after that.

  30. lovetox

    So gajim does not crash anymore ? Just the file picker is gone?

    👍 1
  31. cal0pteryx

    bard: which Gajim version?

  32. bard

    1.9.5

  33. cal0pteryx

    That's gtk3, you can try to update gajim to get gtk4

  34. bard

    > So gajim does not crash anymore ? Just the file picker is gone? Yeah, I open it and it disappears within a few seconds.

  35. bard

    I'm on Guix System, will probably have to wait for it to get updated then. When did the gtk4 version come out? I think I've upgraded my packages in the last 2 or 3 weeks at least.

  36. Link Mauve

    bard, 2.0.0 got released in February: https://gajim.org/posts/2025-02-28-gajim-2.0.0-released/

  37. bard

    Thanks for the info!

  38. Link Mauve

    Better request Guix to update the package, or maybe try to do it yourself, ask at xmpp:guix@chat.disroot.org?join if you want to do it!

  39. concerto

    I created a new user on my laptop and I'm trying to migrate Gajim there. • I've copied over ~/.config/gajim/ • My ~/.local/share/gajim is a symlink to /media/data/foo/gajim, and I've created this symlink under the new user too. • I've done `chown -r newuser` for both the data and the config directory. And yet, when I launch Gajim from the new user, my accounts and chats are not present... 🤔

  40. lovetox

    Why is one a symlink?

  41. lovetox

    Are you starting gajim with some arguments?

  42. concerto

    > Why is one a symlink? Because I didn't have enough space on my home partition.

  43. lovetox

    usually gajim takes its config from that path

  44. lovetox

    if you dont add any special argumnets

  45. lovetox

    you can try to move the dir away

  46. lovetox

    and start gajim, and check if it creates the path, then you can be sure it takes it from there