Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: f2k starts very slowly (Read 4357 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: f2k starts very slowly

Reply #25
Changelog Beta 20

Quote
Added "low memory mode" in 32-bit build, restoring pre-beta18 style tag caching semantics.
        Located in advanced preferences / general.
        If foobar2000 cannot start up due to memory usage, it can be emergency-enabled by putting "enable_low_mem_mode" file in the profile folder.
    Misc search bug fixes.
    Playlist group layout optimizations reverted (no more scrollbar jumping around stupidly), unless in the new low memory mode.
    Fixed various RIFF64 WAV reading bugs.
    Fixed blank edit menu shown when no items are enabled.
Thing is low mem mode reverts behavior to releases past beta 17.

But if beta 18 and 19 works fine for you, the low mem mode at 20 is not supposed to change anything. I mean, your entire library tags have been cached on 18 and 19 too. On 20 there is only a setting to not do it anymore, but it should not make things worse in any case. Maybe some error was added on the process.

Did you tried the low mem mode? Does it change anything?

Re: f2k starts very slowly

Reply #26
....Did you tried the low mem mode? Does it change anything?

How can i try the low mem mode?
And where can I find the "enable_low_mem_mode" file?

Re: f2k starts very slowly

Reply #27
File->Preferences->Advanced->General->Low-memory mode



Re: f2k starts very slowly

Reply #30
I have now done a clean install with f2k v2 beta 18 32bit.
Then the updates beta 19 and beta 20 installed.
The same start delay as with 64bit.
Then activate the low memory mode in Preferences/Advence/Genaral and then f2k starts again as fast as usual (See attachement).

It just won't work with 64 bit.

Re: f2k starts very slowly

Reply #31
I tested everything again on another desktop PC.

Intel Core i5
Win11 Pro 64bit
RAM 16GB

The same result. When updating to v2 64bit beta 20, f2k starts much slower than before.
With v2 32 bit beta 20 this can be reversed by activating low memory.

I do not know how to continue.
I guess I have to stay with v2 64bit Beta19 or v1.1.16....

Re: f2k starts very slowly

Reply #32
I got exactly the same, since one of the beta updated, I got very slowly to load the whole library, it also caused delay to next boot if last tab was the whole library,

E3-1230v2
16gb ram
WIn10 x64
fb2k x64 beta24

Re: f2k starts very slowly

Reply #33
Well fine. I thought I was the only one with this problem.

Re: f2k starts very slowly

Reply #34
My portable foobar2000 beta 24 (32-bits), starts slow too:
Code: [Select]
Components loaded in: 0:01.852451
Configuration read in: 0:00.379795
foobar2000 v2.0 beta 24 x86 [portable]
Watching: D:\MP3
Playlist #1 loaded in 0:00.022792
Watching: E:\MP3
Album List refreshed in: 0:00.000270
User Interface initialized in: 0:01.417815
FFmpeg version: 5.1
Startup time : 0:22.946165
Album List refreshed in: 0:00.112540
Library initialized after 0:24.001992

Re: f2k starts very slowly

Reply #35
Try (no guarantee):
  • Save: metadb.sqlite
  • Remove: Preferences|Media Library|Music folders
  • Delete: metadb.sqlite
  • Add:: Preferences|Media Library|Music folders
That worked here.

Re: f2k starts very slowly

Reply #36
Thank you grimes, that helped a lot :)
Code: [Select]
Components loaded in: 0:01.777814
Configuration read in: 0:00.282976
foobar2000 v2.0 beta 24 x86 [portable]
Watching: D:\MP3
Playlist #1 loaded in 0:00.025848
Watching: E:\MP3
Album List refreshed in: 0:00.000236
User Interface initialized in: 0:01.152138
FFmpeg version: 5.1
Startup time : 0:04.666273
Album List refreshed in: 0:00.090929
Library initialized after 0:05.502365

Re: f2k starts very slowly

Reply #37
Try (no guarantee):
  • Save: metadb.sqlite
  • Remove: Preferences|Media Library|Music folders
  • Delete: metadb.sqlite
  • Add:: Preferences|Media Library|Music folders
That worked here.

Unfortunately no success with v2 beta24 (64bit)


Re: f2k starts very slowly

Reply #39
f2k v2 beta24 64bit

I have now rebuilt my UI step by step.
Everything works until I activate the Album Back Cover field in the playlist view.

When all back covers are loaded, f2k suddenly starts very slowly.

This can not undone by deactivating the Back Album Cover field.


Re: f2k starts very slowly

Reply #41
Broken images generally fail to load instantly. Oversized images could be problematic. For a playlist viewer where hundreds/thousands could be scrolled through, caching/resizing them is cpu intensive.

edit: no idea about removing the column and the problem persisting after a restart. That makes no sense.  ;D


Re: f2k starts very slowly

Reply #43
What image size is recommended?


Re: f2k starts very slowly

Reply #45
Thanks, it's true... When Settings - Advanced - Album art - Prefer embedded, then reloading ALL Music in Album list again, everything got super speedy like used to... Now needs to figure which cover causes this...

Re: f2k starts very slowly

Reply #46
So, this is the last attempt to clarify the problem.

What have I done now?

1. Installing V2 64bit Beta 17. No other plugins added.
2. All corrupt covers removed and replaced with new ones. BadPeggy no longer reports corrupt covers.
3. All Covers resized to Medium using Microsoft PowerToys.
4. Read in the media library.
5. Reboot. Console see pic 1
6. Activate the "Album back cover" column in the playlist view.
7. Reboot. Fast start as before.
8. Album back disabled.
9. Update to V2 64bit Beta20.
10. Reboot. Start much slower. see pic2
11. Activate the "Album back cover" column in the playlist view.
12. Start just as slowly as you did one step earlier. see pic3
13. Update to v2 64bit beta26. No improvement.

I don't know what to do anymore and will probably stay with v2 32bit. Everything works smoothly there.

Thanks for all previous attempts to help.

Re: f2k starts very slowly

Reply #47
here is my layout and my DUI .fth in the attachment.
Code: [Select]
Core (2023-01-18 14:26:34 UTC)
    foobar2000 core 2.0 beta 24
foo_burninate.dll (2022-09-25 12:10:00 UTC)
    Audio CD Writer 3.1.1
foo_converter.dll (2023-01-18 14:26:22 UTC)
    Converter 2.0 beta 24
foo_dsp_eq.dll (2023-01-18 14:26:16 UTC)
    Equalizer 1.2.3
foo_dsp_std.dll (2023-01-18 14:26:16 UTC)
    Standard DSP Array 2.0 beta 24
foo_fileops.dll (2023-01-18 14:26:16 UTC)
    File Operations 2.0 beta 24
foo_freedb2.dll (2023-01-18 14:26:16 UTC)
    Online Tagger 0.9
foo_input_std.dll (2023-01-18 14:26:34 UTC)
    CD Audio Decoder 2.0 beta 24
    FFmpeg Decoders 5.1
    Monkey's Audio Decoder 8.70
    Standard Input Array 2.0 beta 24
foo_jscript_panel3.dll (2023-01-20 01:15:16 UTC)
    JScript Panel 3 3.2.5
foo_quicktag.dll (2022-09-22 18:42:30 UTC)
    Quick Tagger 1.1.1
foo_run.dll (2022-09-19 10:14:04 UTC)
    Run services 0.4.5
foo_ui_std.dll (2023-01-18 14:26:24 UTC)
    Album List 2.0 beta 24
    Decoding Speed Test 2.0 beta 24
    Default User Interface 2.0 beta 24
    File Integrity Verifier 2.0 beta 24
foo_unpack.dll (2023-01-18 14:26:28 UTC)
    ZIP/GZIP/RAR/7-Zip Reader 2.0 beta 24


May I ask where can I get that flag script?
JScript Panel 3.1.6 (flag v2 by grimes)

Thank you