VASTDynamics / Vaporizer2

Vaporizer2 hybrid wavetable additive / subtractive VST / AU / AAX synthesizer / sampler workstation plugin
https://www.vast-dynamics.com/?q=products
GNU General Public License v3.0
436 stars 26 forks source link

CPU spikes due to Auto Save in Bitwig #59

Closed VASTDynamics closed 10 months ago

VASTDynamics commented 11 months ago

CPU spikes due to Auto Save in Bitwig

xard-dev commented 10 months ago

I can reproduce this issue in Linux and Ardour 8.1 and Ardour 8.2.

I had to disable auto saving due to heavy CPU usage when having 16 instances of Vaporizer2 on the same project: the project file size grows to around 36 MiB and every time the project is saved the DSP usage jumps up to 100% for couple of seconds stopping all audio.

VASTDynamics commented 10 months ago

Yes, I could reproduce it. See the spike below that happnes exactly every 60 seconds: image

Bitwig seems to call getStateInformation() every other minute. image

VASTDynamics commented 10 months ago

This is fixed here: https://github.com/VASTDynamics/Vaporizer2/commit/1610748ee31f699356404c2f3e1ea3061727860a