v0.99.4-beta: The RAM crisis update #295
htkhiem
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
New features
Image cache
cover.png/jpg/...file but the tracks therein have embedded art, the embedded art from the (usually) first track will be used for that whole folder.Preferences->Libraryto empty the cached images folder. Useful for redownloading images after changing config, or to clean up the messy folder left by older Euphonica versions.Keyboard shortcuts
This update brings many more keyboard shortcuts. Euphonica should now be somewhat usable with just the keyboard, but scrolling views is still scrollwheel-based for now.
The new shortcuts mostly mirror that of
ncmpcpp(the one client that kickstarted my MPD journey), just with added modifier keys like Ctrl and Shift to work around the existing "type-to-search" feature, in which simply typing a letter would enter search mode, in line with other apps in the GNOME ecosystem.Modifier keys were picked based on their English semantics. For example, actions involving moving things temporally or spatially, such as seeking, switching tracks or adjusting volume, will commonly have Shift as modifier (or one of the modifiers). Actions involving playback control will usually use Ctrl. Destructive actions, such as clearing the queue, will have more than one modifier.
For the full list of available keyboard shortcuts, please open the Keyboard Shortcuts dialog in the hamburger menu or hit
Ctrl+?as usual. This dialog has also been updated to use the newlibadwaita1.8's shortcuts dialog. It's now searchable, and the shortcuts therein are grouped with quick filter-to-group toggle buttons.RAM usage improvements
AlbumCells now actively track whether they are on-screen, lazily loads textures only when they're about to be shown on the screen, and eagerly unloads textures once off-screen. This sidesteps a longstanding issue with GTK GridViews keeping way more cells in memory than is necessary (once discussed in #99).
Will Euphonica's RAM usage drop? Most of the time, if you aren't scrolling from one end of the album grid to another repeatedly, the RAM usage should be halved. However, with enough scrolling, RAM usage will look inflated due to the textures being cached by both our LRU mechanism and GTK's inner workings. This is perfectly fine, and doesn't mean Euphonica needs that much RAM to function correctly.
As a nice little experiment, once can use
cgroupsto artificially limit the amount of memory Euphonica has access to:# Soft-limits to 256MB and forces a crash at 512MB systemd-run --user --scope \ -p MemoryHigh=268435456 \ -p MemoryMax=536870912 \ euphonicaEuphonica would then try to only use that much memory. So far it hasn't crashed on my side.
Fixes
Pull Requests
Full Changelog: v0.99.3-beta...v0.99.4-beta
This discussion was created from the release v0.99.4-beta: The RAM crisis update.
Beta Was this translation helpful? Give feedback.
All reactions