Memory leak when performing replay gain scans, [moderation: culprit is GDIPP, not fb2k] |
Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
Memory leak when performing replay gain scans, [moderation: culprit is GDIPP, not fb2k] |
May 30 2012, 13:38
Post
#1
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
It has been quite a while back since I did any replaygain scans on my music library. Today when I tried to do so on ~ 2.5k tracks I found that foobar2k suffers from memory leakage. The memory will go skyhigh until it reached my max memory limit, then foobar2k will just hang there. The only way is to kill the process. I thought this issue had been fixed after 1.1.6?
I'm using 1.1.11 by the way. |
|
|
|
May 30 2012, 17:15
Post
#2
|
|
|
Group: Super Moderator Posts: 4348 Joined: 23-June 06 Member No.: 32180 |
I'm using 1.1.11 by the way. Out of interest, does v1.1.12(a) fare any better?QUOTE ( http://www.foobar2000.org/changelog ) 1.1.2
[…] Improved startup time and memory usage with very large media libraries. [beta 4] |
|
|
|
May 30 2012, 17:29
Post
#3
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
I had yet to try that as it seemed to change the way it used to handle multiple values in tag field.
|
|
|
|
Jun 10 2012, 15:00
Post
#4
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
Latest news. I had try to scan my library for missing replaygain and it is confirmed that the memory leak still happen even with the latest final build of v1.1.13. . It will fill up the maximum capacity of my memory and then the progress bar will just hang. I'm scanning for roughly 4300 tracks.
|
|
|
|
Jun 10 2012, 15:19
Post
#5
|
|
![]() Group: Members Posts: 1050 Joined: 16-February 08 From: NL Member No.: 51347 |
FYI: Unable to reproduce with 1.1.11 on XP 32bit. I quit scanning my 4300 items after 5% because memory usage went up ~15MB from 31, and then roughly stayed there.
Components: CODE Core (2012-02-04 13:05:48 UTC)
foobar2000 core 1.1.11 foo_abx.dll (2009-06-07 12:25:26 UTC) ABX Comparator 1.3.4 foo_albumlist.dll (2012-02-04 13:04:12 UTC) Album List 4.5 foo_audioscrobbler.dll (2008-05-13 13:36:16 UTC) Audioscrobbler 2.3.1 foo_burninate.dll (2010-10-10 19:22:37 UTC) Audio CD Writer 3.0.2 foo_cdda.dll (2012-02-04 13:03:52 UTC) CD Audio Decoder 3.0 foo_converter.dll (2012-02-04 13:04:00 UTC) Converter 1.5 foo_convolve.dll (2010-09-13 20:20:14 UTC) Convolver 0.3 foo_dsp_delta.dll (2012-03-03 14:47:09 UTC) Noise Sharpening DSP 1.0.0 foo_dsp_effect.dll (2011-12-21 21:10:04 UTC) Effect DSP 0.9.2 foo_dsp_std.dll (2012-02-04 13:04:14 UTC) Standard DSP Array 1.0 foo_dsp_xgeq.dll (2012-03-04 10:48:58 UTC) Graphic Equalizer 0.3.7 foo_facets.dll (2009-04-25 20:47:26 UTC) Facets 2008-02-25 foo_fileops.dll (2012-02-04 13:03:02 UTC) File Operations 2.1.3 foo_freedb2.dll (2012-02-04 13:03:02 UTC) freedb Tagger 0.6.4 foo_input_monkey.dll (2009-05-01 12:40:52 UTC) Monkey's Audio Decoder 2.1.4 foo_input_std.dll (2012-02-04 13:05:10 UTC) Standard Input Array 1.0 foo_playcount.dll (2009-04-29 18:09:32 UTC) Playback Statistics 2.1.9 foo_random_pools.dll (2009-12-27 17:22:56 UTC) Random Pools 0.0.1 [Dec 27 2009 - 18:22:23] foo_rgscan.dll (2012-02-04 13:03:48 UTC) ReplayGain Scanner 2.1.2 foo_softplaylists.dll (2010-11-14 14:36:02 UTC) Soft Playlists 2010-10-21 foo_stopaftercuralbum.dll (2009-06-01 07:50:42 UTC) foo_stopaftercuralbum 0.2 foo_texttools.dll (2010-11-14 14:36:02 UTC) Text Tools 1.0.5 foo_ui_std.dll (2012-02-04 13:04:08 UTC) Default User Interface 0.9.5 foo_uie_wsh_panel_mod.dll (2012-06-03 17:59:03 UTC) WSH Panel Mod 1.5.3.1 foo_wave_seekbar.dll (2010-07-17 21:03:15 UTC) Waveform seekbar 0.2.12 |
|
|
|
Jun 10 2012, 15:27
Post
#6
|
|
![]() Group: Developer Posts: 2984 Joined: 2-December 07 Member No.: 49183 |
The same here (scan per-file track gain): no problems, no crashes. Maybe you use "scan as a single album" command? Or "scan as albums", but the tracks don't have album/artist tags?
Also, what is the format of your files? (mp3, flac, wma...) fb2k 1.1.13, Win7 x64. This post has been edited by lvqcl: Jun 10 2012, 15:28 |
|
|
|
Jun 10 2012, 16:41
Post
#7
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
I was using 'Scan selections as albums (by tags)' and all the files have the proper tags. Haven't really tried 'scan per file track gain' as I wanted both album + track gain. File format are a mixture of MP3 and FLAC. I recalled that this problem does not occur on builds before 1.1.6 though.
Any thoughts on this? |
|
|
|
Jun 10 2012, 17:49
Post
#8
|
|
![]() Group: Developer Posts: 2984 Joined: 2-December 07 Member No.: 49183 |
19000 tracks, "scan as albums" - no problems (it took ~35MB RAM).
What components are installed? |
|
|
|
Jun 11 2012, 06:07
Post
#9
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
If this might prove to be useful:
CODE Core (2012-06-07 18:37:46 UTC)
foobar2000 core 1.1.13 foo_abx.dll (2009-06-07 06:25:26 UTC) ABX Comparator 1.3.4 foo_albumlist.dll (2012-06-07 18:36:18 UTC) Album List 4.5 foo_audioscrobbler.dll (2010-06-04 01:27:04 UTC) Audioscrobbler 1.4.7 foo_cdda.dll (2012-06-07 18:36:12 UTC) CD Audio Decoder 3.0 foo_chacon.dll (2011-08-23 09:59:59 UTC) Chacon 3 foo_channel_mixer.dll (2008-03-12 09:37:47 UTC) Channel Mixer 0.9.6.5 foo_converter.dll (2012-06-07 18:35:52 UTC) Converter 1.5 foo_customdb.dll (2010-03-04 04:10:54 UTC) Custom Database 0.1.0_beta1 foo_discogs.dll (2012-03-22 16:02:18 UTC) Discogs Tagger 1.30 foo_dsp_std.dll (2012-06-07 18:36:20 UTC) Standard DSP Array 1.0 foo_dsp_xgeq.dll (2012-02-05 05:11:22 UTC) Graphic Equalizer 0.3.7 foo_facets.dll (2011-08-23 11:29:27 UTC) Facets 1.0 foo_fileops.dll (2012-06-07 18:35:14 UTC) File Operations 2.1.3 foo_freedb2.dll (2012-06-07 18:36:30 UTC) freedb Tagger 0.6.4 foo_input_monkey.dll (2012-03-22 16:02:18 UTC) Monkey's Audio Decoder 2.1.5 foo_input_std.dll (2012-06-07 18:35:58 UTC) Standard Input Array 1.0 foo_input_tak.dll (2010-01-09 11:11:58 UTC) TAK Decoder 0.4.4 foo_input_tta.dll (2011-09-21 10:02:27 UTC) TTA Audio Decoder 3.2 foo_keep_queue.dll (2010-11-11 20:28:46 UTC) Keep Queue 0.3.5 foo_masstag.dll (2012-05-20 06:24:30 UTC) Masstagger 1.8.4 foo_osd.dll (2012-05-18 16:25:58 UTC) On-Screen Display GDI+ 1.70 foo_out_wasapi.dll (2012-05-24 16:19:34 UTC) WASAPI output support 3.0 beta 2 foo_playback_custom.dll (2010-12-24 06:19:12 UTC) Playback Statistics Custom 1.5.1 foo_playcount.dll (2011-07-13 03:47:18 UTC) Playback Statistics 3.0.2 foo_playlist_attributes.dll (2012-05-22 16:16:15 UTC) Playlist Attributes 0.4.1 foo_playlist_tree_mod.dll foo_plorg.dll (2011-11-07 11:46:10 UTC) Playlist Organizer 2.4 foo_preview.dll (2008-12-22 20:41:11 UTC) Preview 1.4 foo_queuecontents.dll (2012-05-24 05:09:27 UTC) Queue Contents Editor 0.5.1 foo_quicksearch.dll (2012-03-22 16:02:18 UTC) Quick Search Toolbar 3.2 foo_quicktag.dll (2010-09-01 02:15:08 UTC) Quick Tagger 1.0.3 foo_random_pools.dll (2012-05-14 17:58:08 UTC) Random Pools 0.1.1 foo_rgscan.dll (2012-06-07 18:35:56 UTC) ReplayGain Scanner 2.1.2 foo_run.dll (2011-09-21 10:21:17 UTC) Run services 0.3.7 foo_scheduler.dll (2012-03-22 16:02:18 UTC) Scheduler 4.09 foo_skip.dll (2012-05-22 16:12:28 UTC) Skip Track 1.7.4 foo_softplaylists.dll (2011-02-04 20:04:50 UTC) Soft Playlists 2011-02-05 foo_talktome.dll (2011-08-21 20:44:12 UTC) TalkToMe 0.6 foo_tts.dll (2011-08-27 16:27:46 UTC) Text to Speech 1.0.4 foo_ui_columns.dll (2011-02-27 20:22:58 UTC) Columns UI 0.3.8.8 foo_clownware.dll (2011-08-18 07:09:20 UTC) UI Hacks 2011-08-18 foo_ui_std.dll (2012-06-07 18:36:16 UTC) Default User Interface 0.9.5 foo_uie_biography.dll (2012-05-26 16:32:33 UTC) Biography View 0.4.2.4 foo_uie_elplaylist.dll (2010-10-30 13:51:16 UTC) ELPlaylist 0.6.9.1.2(beta) foo_uie_esplaylist.dll (2011-05-28 16:06:46 UTC) EsPlaylist 0.1.3.9 foo_uie_graphical_browser.dll (2008-04-19 19:37:53 UTC) Graphical Browser rev015 foo_uie_lyrics.dll (2008-12-12 09:39:20 UTC) Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01] foo_uie_lyrics3.dll (2012-05-18 16:25:58 UTC) Lyric Show Panel 3 0.3.3 foo_uie_panel_splitter.dll (2009-12-09 16:16:12 UTC) Panel Stack Splitter 0.3.8.3(alpha) foo_uie_playlists_dropdown.dll (2012-05-15 05:52:30 UTC) Playlists Dropdown 0.7.6 foo_uie_tagger_mod.dll (2012-01-10 12:46:56 UTC) Tagger Panel 1.2.9 foo_uie_vis_channel_spectrum.dll (2008-05-17 19:02:12 UTC) Channel Spectrum panel 0.17.2 foo_uie_wsh_panel_mod.dll (2011-02-01 09:41:46 UTC) WSH Panel Mod Mod 1.4.2 foo_unpack.dll (2012-06-07 18:35:28 UTC) ZIP/GZIP/RAR Reader 1.6 foo_upnp.dll (2012-05-18 16:25:58 UTC) UPnP/DLNA Renderer, Server, Control Point 0.99.40 foo_vis_shpeck.dll (2011-12-28 07:43:20 UTC) Shpeck - Winamp vis plugins wrapper 0.3.7 foo_vis_vumeter.dll (2012-05-29 06:23:30 UTC) VU Meter 2012-05-29 foo_wave_seekbar.dll (2012-03-22 16:02:18 UTC) Waveform seekbar 0.2.18 This post has been edited by Frank Bicking: Jun 11 2012, 07:00
Reason for edit: Codeboxed.
|
|
|
|
Jun 11 2012, 20:07
Post
#10
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
Troubleshooter report for you.
|
|
|
|
Jun 17 2012, 07:07
Post
#11
|
|
![]() Group: Members Posts: 3 Joined: 17-June 12 Member No.: 100783 |
I have same problem with foobar filling all memory while scanning tracks for replaygain. It doesn't matter on which replaygain scan method used (as single album/by tags/per-file, all the same). While scaning small amount of tracks memory usage jumps up, after scans job's done memory is still occupied. Further replaygain scans only takes more memory.
Foobar 1.1.13 and I remember it was in 1.1.12(a) as well, no crash, just hangs when memory is fully used, Windows 7 x64. Music tracks are mostly FLAC and WavPack, a few mp3/vorbis tracks but I doubt it depends on that (?). ![]() Online troubleshooter said everything is OK, but still here is the list of components: CODE Core (2012-06-07 18:37:46 UTC)
foobar2000 core 1.1.13 foo_albumlist.dll (2012-06-07 18:36:18 UTC) Album List 4.5 foo_cdda.dll (2012-06-07 18:36:12 UTC) CD Audio Decoder 3.0 foo_converter.dll (2012-06-07 18:35:52 UTC) Converter 1.5 foo_dsp_resampler.dll (2011-11-03 14:05:14 UTC) SoX Resampler 0.7.6 foo_dsp_std.dll (2012-06-07 18:36:20 UTC) Standard DSP Array 1.0 foo_fileops.dll (2012-06-07 18:35:14 UTC) File Operations 2.1.3 foo_freedb2.dll (2012-06-07 18:36:30 UTC) freedb Tagger 0.6.4 foo_gep.dll (2012-05-09 06:39:23 UTC) Game Emu Player 1.124 foo_input_monkey.dll (2011-11-17 16:21:45 UTC) Monkey's Audio Decoder 2.1.5 foo_input_std.dll (2012-06-07 18:35:58 UTC) Standard Input Array 1.0 foo_out_asio.dll (2012-02-06 13:41:26 UTC) ASIO support 2.1.1 foo_out_wasapi.dll (2011-11-17 16:21:45 UTC) WASAPI output support 2.1 foo_playcount.dll (2011-11-17 16:21:45 UTC) Playback Statistics 3.0.2 foo_rgscan.dll (2012-06-07 18:35:56 UTC) ReplayGain Scanner 2.1.2 foo_ui_columns.dll (2011-02-27 20:22:58 UTC) Columns UI 0.3.8.8 foo_ui_std.dll (2012-06-07 18:36:16 UTC) Default User Interface 0.9.5 foo_uie_albumlist.dll (2009-06-13 22:49:19 UTC) Album list panel 0.3.5 foo_unpack.dll (2012-06-07 18:35:28 UTC) ZIP/GZIP/RAR Reader 1.6 This post has been edited by SalamatiQus: Jun 17 2012, 07:17 |
|
|
|
Jun 17 2012, 08:04
Post
#12
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
Your situation is EXACTLY the same as mine. Hopefully the developer will fix this issue. Previous foobar version (I think v1.0) doesn't have this issue though.
|
|
|
|
Jun 17 2012, 13:14
Post
#13
|
|
![]() Group: Members Posts: 1050 Joined: 16-February 08 From: NL Member No.: 51347 |
components in common:
CODE Core (2012-06-07 18:37:46 UTC)
foobar2000 core 1.1.13 foo_albumlist.dll (2012-06-07 18:36:18 UTC) Album List 4.5 foo_cdda.dll (2012-06-07 18:36:12 UTC) CD Audio Decoder 3.0 foo_converter.dll (2012-06-07 18:35:52 UTC) Converter 1.5 foo_dsp_std.dll (2012-06-07 18:36:20 UTC) Standard DSP Array 1.0 foo_fileops.dll (2012-06-07 18:35:14 UTC) File Operations 2.1.3 foo_freedb2.dll (2012-06-07 18:36:30 UTC) freedb Tagger 0.6.4 foo_input_monkey.dll (2011-11-17 16:21:45 UTC) Monkey's Audio Decoder 2.1.5 foo_input_std.dll (2012-06-07 18:35:58 UTC) Standard Input Array 1.0 foo_out_wasapi.dll (2011-11-17 16:21:45 UTC) WASAPI output support 2.1 foo_playcount.dll (2011-11-17 16:21:45 UTC) Playback Statistics 3.0.2 foo_rgscan.dll (2012-06-07 18:35:56 UTC) ReplayGain Scanner 2.1.2 foo_ui_columns.dll (2011-02-27 20:22:58 UTC) Columns UI 0.3.8.8 foo_ui_std.dll (2012-06-07 18:36:16 UTC) Default User Interface 0.9.5 foo_unpack.dll (2012-06-07 18:35:28 UTC) ZIP/GZIP/RAR Reader 1.6 |
|
|
|
Jun 17 2012, 18:00
Post
#14
|
|
![]() Group: Members (Donating) Posts: 770 Joined: 25-September 03 From: Umeå, Sweden Member No.: 9001 |
Make a new clean portable installation, see if it's reproducible in there.
If it's not reproducible in there, add in fresh copies of your components. If it's still not reproducible, copy your profile into the portable directory. The point is to determine whether it's some configuration you've twiddled, some component that interacts oddly, or a core problem. -------------------- Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered. |
|
|
|
Jun 17 2012, 19:56
Post
#15
|
|
|
Group: Members Posts: 306 Joined: 2-July 10 Member No.: 81991 |
On a hunch, try the last foobar version without deadlock detection (1.0.9, I think) and see if it works there.
|
|
|
|
Jun 18 2012, 15:41
Post
#16
|
|
![]() Group: Members Posts: 3 Joined: 17-June 12 Member No.: 100783 |
Fresh portable installation without any modification. I just ran foobar installer and chose portable version to install, it went right on the desktop. I haven't touched normal installation of foobar.
![]() Where can I download last foobar version without deadlock detection? This post has been edited by SalamatiQus: Jun 18 2012, 15:44 |
|
|
|
Jun 18 2012, 20:54
Post
#17
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
Deadlock detection does not leak. GDIPP does.
|
|
|
|
Jun 19 2012, 03:09
Post
#18
|
|
![]() Group: Members Posts: 3 Joined: 17-June 12 Member No.: 100783 |
Deadlock detection does not leak. GDIPP does. wow, never thought about that. I'll just add foobar to exception list then but what about D.Sync? Does he use gdipp too? |
|
|
|
Jun 25 2012, 11:23
Post
#19
|
|
|
Group: Members Posts: 173 Joined: 22-March 07 Member No.: 41742 |
Thanks for the headsup kode. Yes I use gdipp and it is confirmed that it caused the memory leakage. Turning the service off and the leakage no longer happen, even when scanning over 1000 tracks
Edit: still I wonder why gdipp will cause the leakage though, perhaps the wordings that is in Current File dialog causes each line to store in the RAM? Guess I will have to turn off the gdipp service whenever I wanted to perform RG scan. I think this thread can now close. This post has been edited by D.Sync: Jun 25 2012, 11:28 |
|
|
|
Jun 25 2012, 20:23
Post
#20
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
As SalamatiQus said, you can add foobar2000 to the exception list so it won't apply to foobar2000.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 15:18 |