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: fb2k 64bit and >20GB RAM (Read 1437 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

fb2k 64bit and >20GB RAM

Today I observed an odd behavior with fb2k 64bit, the process was consuming >20GB RAM.

Scenario:
fb2k was playing in the background, PC was console locked. I logged in and after a few secs, there was no more audio, when mouse was on fb2k, the blue circle busy logo was seen. I went over to the task manager, i saw fb2k with process memory >20GB and it was slowly dropping. By the time I took the screenshot, it has dropped to 15Gb. The process memory footprint continue to drop until around 800K then the audio came back. I have never seen this before, nor could I replicate it. Logging it here for records. Will post here again if it recurs.

X

 

Re: fb2k 64bit and >20GB RAM

Reply #1
Unfortunately such reports aren't very useful if there is no information on what caused them. 64-bit foobar2000 can technically allocate way more memory than the system has, but obiously it shouldn't do that unless something is terribly wrong. I'd assume it's some third party component doing *something*, but your foobar2000 setup is a closely guarded secret.

Edit: if you see this behavior again, you could try Process Explorer and open the properties of the process. Perhaps the threads view shows what components are running wild at the time.

Re: fb2k 64bit and >20GB RAM

Reply #2
I'd assume it's some third party component doing *something*, but your foobar2000 setup is a closely guarded secret.

Yup yup ... it's super secret :)



Code: [Select]
Core (2024-09-19 09:04:00 UTC)
    foobar2000 core 2.1.6
foo_beefweb (2023-09-03 00:10:02 UTC)
    Beefweb Remote Control 0.8
foo_converter (2024-09-19 09:04:30 UTC)
    Converter 2.1.6
foo_dsd_processor (2024-10-29 02:38:40 UTC)
    DSD Processor 1.3.2
foo_dsp_amp (2023-03-16 06:06:46 UTC)
    Amplify 1.0.4
foo_dsp_convolver (2024-02-12 10:22:24 UTC)
    Convolver (gapless) 0.4.8
foo_dsp_eq (2024-09-19 09:04:34 UTC)
    Equalizer 1.2.3
foo_dsp_mdadither (2023-03-16 06:06:42 UTC)
    mda Dither 0.3
foo_dsp_replaygain (2024-09-24 02:01:26 UTC)
    ReplayGain DSP 0.2.17
foo_dsp_resampler (2024-05-02 11:28:50 UTC)
    SoX Resampler 0.8.7.+
foo_dsp_src_resampler (2023-03-16 06:06:42 UTC)
    SRC Resampler 1.0.14
foo_dsp_std (2024-09-19 09:04:36 UTC)
    Standard DSP Array 2.1.6
foo_dsp_stereoconv (2024-05-05 03:40:20 UTC)
    Stereo Convolution 1.0.1
foo_dsp_vst3 (2024-04-09 05:38:38 UTC)
    VST 2.x/3.x Adapter 0.12
foo_enhanced_spectrum_analyzer (2023-05-06 10:54:08 UTC)
    Enhanced Spectrum analyzer 1.9.2.0
foo_fileops (2024-09-19 09:04:40 UTC)
    File Operations 2.1.6
foo_flowin (2022-10-17 03:55:30 UTC)
    Flowin 0.2.0 beta
foo_freedb2 (2024-09-19 09:04:44 UTC)
    Online Tagger 0.10
foo_headphone_eq (2024-04-17 02:58:10 UTC)
    MathAudio Headphone EQ 1.5.2
foo_input_sacd (2024-10-29 02:38:38 UTC)
    Super Audio CD Decoder 1.5.11
foo_input_std (2024-09-19 09:04:24 UTC)
    CD Audio Decoder 2.1.6
    FFmpeg Decoders 6.0
    FLAC Decoder 1.4.3
    Monkey's Audio Decoder 10.30
    Opus Decoder 1.4
    Standard Input Array 2.1.6
foo_jscript_panel3 (2024-11-09 10:59:44 UTC)
    JScript Panel 3 3.8.3
foo_loudness_peakmeter (2023-05-19 13:52:34 UTC)
    Loudness Peakmeter 1.0.0.0
foo_nds (2023-03-16 06:06:30 UTC)
    No Display Standby 1.1.4
foo_osd (2023-08-06 00:53:12 UTC)
    On-Screen Display 1.74.2
foo_out_asio (2024-05-31 02:03:56 UTC)
    ASIO Output 2.2.3
foo_out_asio+dsd (2024-08-20 14:17:28 UTC)
    ASIO+DSD Output 0.3.10
foo_outinfo (2024-10-27 04:23:08 UTC)
    Output Info 1.2.1
foo_playcount (2023-03-14 06:04:18 UTC)
    Playback Statistics 3.1.5
foo_quicksearch (2024-06-17 04:09:24 UTC)
    Quick Search Toolbar 3.9
foo_record (2023-03-16 06:06:34 UTC)
    Recorder 0.2.3
foo_scheduler_mod (2023-10-23 14:08:56 UTC)
    Scheduler mod 4.21
foo_skipcount (2024-04-13 07:06:14 UTC)
    Skip count 2.0.5
foo_texttools (2022-09-16 02:57:40 UTC)
    Text Tools 1.1
foo_truepeak (2024-06-10 01:20:28 UTC)
    True Peak Scanner 0.6.14
foo_ui_std (2024-09-19 09:04:12 UTC)
    Album List 2.1.6
    Decoding Speed Test 2.1.6
    Default User Interface 2.1.6
    File Integrity Verifier 2.1.6
foo_uie_albumlist (2024-09-03 12:38:30 UTC)
    Album list panel 2.0.3
foo_uie_console (2023-05-06 13:46:38 UTC)
    Console panel 3.0.0
foo_unpack (2024-09-19 09:04:52 UTC)
    ZIP/GZIP/RAR/7-Zip Reader 2.1.6
foo_vis_spectrum_analyzer (2024-08-18 09:01:30 UTC)
    Spectrum Analyzer 0.8.0.0-beta2
foo_vis_vumeter (2024-11-07 03:39:12 UTC)
    VU Meter Visualisation 0.5.2-rc


And the visualizations:


Re: fb2k 64bit and >20GB RAM

Reply #3
Edit: if you see this behavior again, you could try Process Explorer and open the properties of the process. Perhaps the threads view shows what components are running wild at the time.

Ok ... will do!

So far, have not re-occurred ...

Re: fb2k 64bit and >20GB RAM

Reply #4
Your component list doesn't look that crazy. Though visualization components that use hardware accelerated rendering could bring graphics driver bugs into play too. I wonder if JScript3 could under some conditions cause a high memory use?
Let's hope it doesn't happen again but if it does, that you can see the cause with Process Explorer.

Re: fb2k 64bit and >20GB RAM

Reply #5
JSP3 is very unlikely to run out of control using included samples. I'm open to improving things if people think they have real issues with any of it.

But people writing their own scripts can certainly exhaust all memory and I'm pretty sure I cannot stop it. For example I can get all image files in a folder recursively, iterate over every one and load it in to memory. That's the easiest way for sure. :P


Re: fb2k 64bit and >20GB RAM

Reply #7
Out of interest, what size is your metadb.sqlite in the FB root folder?

Not too big.

Code: [Select]
C:\foobar2000.portable.64bit>dir metadb*.* /s/p
 Volume in drive C is Win10_M2SSD
 Volume Serial Number is 9E51-DB40

 Directory of C:\foobar2000.portable.64bit\profile

11/12/2024  10:25 PM       262,098,944 metadb.sqlite
               1 File(s)    262,098,944 bytes

     Total Files Listed:
               1 File(s)    262,098,944 bytes
               0 Dir(s)  398,328,909,824 bytes free

C:\foobar2000.portable.64bit>

Re: fb2k 64bit and >20GB RAM

Reply #8
262 MB is "pretty big" IMO.


Re: fb2k 64bit and >20GB RAM

Reply #10
Erm ... not sure how 270Mb metadb could relate to 20GB foobar memory footprint observation ...

It wouldn't. Mine is 2.3GB and I've been up and down about 64 being a mem pig. crickets so far.

https://hydrogenaud.io/index.php/topic,126777.msg1052451.html#msg1052451

It wasn't near the hit you experienced, but I used 64 for prob less than an hour, as initial mem usage was silly.
v2 mem usage does seem to grow steadily over time with spikes under certain conditions which have been very tough to diagnose.