I have a drum sampler VST-plugin underway, and it has over 900 soundfiles of different hit samples. The samples are embedded into the project as Binary data. The plugin seems to work with say, under ~60 samples but when it goes over that amount, it starts to crash very frequently and gives this error:
Unhandled exception at 0x0FCDF9AC (DrumSampler.vst3) in Plugin Host.exe: 0xC0000005: Access violation writing location 0xDCFFAEEA.
Visual Studio debug says “no symbols are loaded for any call stack frame. The source code cannot be displayed”. And only gives “Show dissassembly” that seem to be a block of memory…
Same happens with VST and VST3. Samples are not more than 700Mb in overall size, so they should fit in the memory well enough.
Is there restrictions to SamplerSounds amounts or sizes or something?