I was recently trying to add replay gain metadata to about 12,000 flac files. The files were all ripped by me using CD-DA Extractor. About half the files completed the replay gain scan successfully, but 6500 tracks failed the scan with the message "could not instantiate R128 object". could someone point me to where this error message is documented, or interpret it? thanks.
Did you by any chance scan these files using the "scan selection as a single album" command? As I'm sure you know it's irrational to do such thing but it would explain running out of resources (accumulating ReplayGain calculation state to calculate album gain over thousands of files).Please also post full list of your components, maybe there's some other reason why your foobar2000 is leaking resources while scanning files.Late edit: ReplayGain scanning will also fail with out-of-resources errors if you're trying to scan your large library as multiple albums but the files are untagged and not recognized as separate albums, hence scanned as one huge album. Except then the results are wrong anyway, so you should not be doing that.
I think I'll add a special notice when you try to scan a suspiciously large group of tracks as a single album, this is way too easy to mistrigger by wrong click or alike.PS I've seen this bug reported before so you're not the first person to do this.