-
lockywolf
500 Mb is a colossal amount of RAM :D
-
lockywolf
I think that any program which uses more than 150 mb of RAM has some issues.
-
lissine
If you load one thousand 500KB images, that's 500 MB of ram
-
lovetox
lockywolf: as always it depends what the program does
-
chud
> I think that any program which uses more than 150 mb of RAM has some issues. So basically any actively developed program today? ↺
-
badrihippo
Yes
-
opinionplatform.org 6
Trailsense app is useful, in background, and uses under 50 MB, if Android can be believed.
-
mesonium
We will see what kind of performance optimization can be done later, once basics things work.
-
Link Mauve
I remember when my main computer had 192 MiB of RAM, fourteen years ago. :D
-
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.
-
Link Mauve
Resources are made to be used, and if it provides a feature I want to use then so be it.
👍 1 -
chud
I think a gtk helloworld with python eats like 80mb from the get go if I'm not mistaken.
-
Link Mauve
86 MiB indeed, this one: https://www.gtk.org/docs/language-bindings/python/ :)
-
Link Mauve
68 MiB if using the cairo renderer.
-
Link Mauve
And 67 using OpenGL.
-
Link Mauve
And now 67 using Vulkan as well?!
-
Link Mauve
Ok, my initial measurement was wrong it seems.
-
Link Mauve
58 MiB for cairo now.
-
Link Mauve
And 112 MiB with ngl?!
-
chud
Might as well just use electron at that point
-
Link Mauve
chud, how much is an Electron hello world?
-
Link Mauve
I don’t have Chromium installed here.
-
chud
IIIRC roughly the same
-
Link Mauve
But GTK is much more pleasant to work with than HTML for writing a graphical application.
-
Link Mauve
You can’t compare just between memory usage of a hello world.
-
chud
Subjective, most people choose Electron. Electron skills = web skills so much much more useful
🤔 1 -
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
-
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.
-
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.
-
lovetox
So gajim does not crash anymore ? Just the file picker is gone?
👍 1 -
cal0pteryx
bard: which Gajim version?
-
bard
1.9.5
-
cal0pteryx
That's gtk3, you can try to update gajim to get gtk4
-
bard
> So gajim does not crash anymore ? Just the file picker is gone? Yeah, I open it and it disappears within a few seconds. ↺
-
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.
-
Link Mauve
bard, 2.0.0 got released in February: https://gajim.org/posts/2025-02-28-gajim-2.0.0-released/
-
bard
Thanks for the info!
-
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!
-
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... 🤔
-
lovetox
Why is one a symlink?
-
lovetox
Are you starting gajim with some arguments?
-
concerto
> Why is one a symlink? Because I didn't have enough space on my home partition. ↺
-
lovetox
usually gajim takes its config from that path
-
lovetox
if you dont add any special argumnets
-
lovetox
you can try to move the dir away
-
lovetox
and start gajim, and check if it creates the path, then you can be sure it takes it from there