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: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30 (Read 1008 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Hello @Peter ,

I tried a new / fresh install of FB 2.1 Preview 2023-10-30 on another 32bit Windows PC and I have to notify you that I couldn't have FB running because the option "enable_low_mem_mode" is not working.

I mean, putting the empty file in the roaming directory, it looks it is not interpreted and FB starts using all the RAM available and crashes in few seconds.

No crash report is generated but some logs are left in the logging directory (see attachment).

Regards, Andrea


Re: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Reply #2
Hi @marc2k3 , well, yes, you are right.
To go faster I compied most of the installation from my other audio PC.
But, the key point is that the labrary rebuild failed because the "low memory mode" was not set even if the dummy file "enable_low_memory_mode" was correctly placed in the roaming directory.
To be noted that in this new installation I didn't copied my old config.sqlite because the scope of the job was exactly to have it rebuild from the ground.

Re: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Reply #3
That option was introduced in foobar2000 v2.0 beta 20 and removed in beta 31. I don't see mention of its return in any newer changelogs.

Re: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Reply #4
Hello @Case ,
thanks for your follow-up. At the time, Peter wrote me telling that the feature would have been hidden but not removed.
I think it is still there because on other 2 PC I am running FB last preview with "low_memory_mode" enabled , infact FB uses just 520MB of RAM.
Peter told me that it is just a field/entry in the config.sqlite file, but I don't know how to set/enable it.
In my other 2 PCs the "low_memory_mode" was enabled during my beta/alpha testing and then remained enabled.
Now I have the problem that (you know of it from the other thread you supported me), quite certainly, I have a corrupted config.sqlite file that I need to rebuild.
Thanks for your help. Kind regards, Andrea

Re: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Reply #5
Well, I'd say the hidden setting refers to the fact that it's a setting in sqlite config file that has an effect when it's present, but there are no ways to alter it in current versions except by directly editing the database with external tools.
Process Monitor doesn't show foobar2000 doing any access to a file called enable_low_mem_mode either in foobar2000 v2.0 stable or in the 2.1 previews I tried.

I would not suggest redoing your config file. It should not be necessary and the config file can't be corrupted in conventional sense, otherwise all your config would get reset. I think it's best to let Peter figure out what exactly is the problem, fixing bugs benefits multiple people. You managing to work around a problem helps only yourself.

Re: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Reply #6
Hi @Case , thank you again for your kind reply. Understood, I will wait for an official solution.
All the best, Andrea

 

Re: BUG: enable_low_mem_mode NOT working anymore with Preview 2023-10-30

Reply #7
PROBLEM SOLVED
Peter gave me instruction on how to enable "low mem mode" in a fresh Foobar installation.
Thank you all for your kind support.
Regards, Andrea