Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Serious memory problem in 3.08.1 on all VST - even stock!

For general discussion related FlowStone

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby lalalandsynth » Sun Jul 16, 2017 3:56 am

Yes, I understand... but with the gui closed it should release the memory eventually ,right ?
It does not do that.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby tulamide » Sun Jul 16, 2017 5:19 am

No, closing the gui does not release the memory. Memory is released when the GC got to work.

Note, I'm not saying that there are no issues. I say that there are many possible causes for the symptom. It is nearly impossible to say what it really is from a complex vst. Strip it down until there is no issue anymore. Use only one knob, make sure it is a knob that's not using Ruby. Create a VST that is not using the audio parts at all (Ruby issues would continue to show up). Etc.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby Spogg » Sun Jul 16, 2017 10:24 am

I made a very simple test here.

2 VSTs, with inputs directly to outputs and an unconnected knob each. One was using a Ruby knob, one was a non-Ruby knob.

Tested in Windows 7 Reaper 32 bit so no bridging.

The Ruby one accumulated memory as I tweaked the knob up and down. It didn't ever reset (10 minutes of no action). The knob is not connected to anything so it’s purely the graphical load.
The non-Ruby knob varied the memory a little as I tweaked but it always returned to its initial memory usage.

This is the simplest test I can think of to prove there’s a problem with the way Ruby is working inside a VST.

As an additional check, I tested my first synth, the Quilcom Adder, against the Quilcom 4EA+.
The Adder was made in Synthmaker and polished (if you can call it that) in Flowstone after I purchased it. The 4EA+ was made in Flowstone with the usual Ruby stuff inside. The Adder uses no Ruby and there is no memory leak. The 4EA+ exhibits the leak quite well.
This explains why some older plugins don’t show the problem.

This seems to be a very serious issue (especially as it affects my Harvester!) so I do hope it can be addressed in the forthcoming 3.09 release…

Cheers

Spogg
Attachments
RUBY memory leak checks.zip
(4.04 MiB) Downloaded 976 times
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby lalalandsynth » Sun Jul 16, 2017 2:54 pm

This is a solid test Spogg and should prove that there is a problem with the ruby implementation.
I was convinced when I did the stock chorus/delay but this should nail it.

I really hope this will be fixed as I am in love with FS.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby pshannon » Sun Jul 16, 2017 4:32 pm

Spoog,

Nice test comparison. I wonder if it will be patched and will it be free since it is a bug? A simple graphic knob should never ever spike the CPU or memory. Game engines can handle millions of polygons and textures.
User avatar
pshannon
 
Posts: 144
Joined: Fri Jan 02, 2015 3:08 am

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby tulamide » Sun Jul 16, 2017 8:16 pm

Could you please test this .dll as well? I don't have any issues with it in my test configuration, which is Win 10, Reaper 64 bit, 4 GB RAM

https://www.dropbox.com/s/4aopeylr13f4tk5/test_volume_knob.dll?dl=1
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby adamszabo » Sun Jul 16, 2017 8:30 pm

tulamide wrote:Could you please test this .dll as well? I don't have any issues with it in my test configuration, which is Win 10, Reaper 64 bit, 4 GB RAM

https://www.dropbox.com/s/4aopeylr13f4tk5/test_volume_knob.dll?dl=1


I tested it and couldnt make it eat the memory, this seems to work.
adamszabo
 
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby lalalandsynth » Sun Jul 16, 2017 8:41 pm

Tested the volume knob in Reaper. 64 bit - 32 bit bridge. Win 7.
Eats memory over here when wiggled constantly.
Its a slow increase but there.
Tested 2 computers Win 7.

BUT...I tested the 3rd computer , Win 8 same Reaper version ...Does not happen there?


All previous testing I have done on these 3 computers , so it is not strictly a win7 issue...weird though ?

Adam - what win are you running ?
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby Spogg » Mon Jul 17, 2017 7:49 am

Windows 7 32 bit with Reaper:

Wiggling tulamide's knob causes an initial increase of memory by a small amount and then it's pretty stable. It varies but I can't get it to constantly increase.

However it has another issue. After a lot of twiddling the mouse cursor disappears over the whole of Reaper, not just the plugin. The mouse still functions with clicking but no cursor. Rebooted the PC and it's a repeatable issue.

What have you done tula?

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Serious memory problem in 3.08.1 on all VST - even stock

Postby lalalandsynth » Mon Jul 17, 2017 12:47 pm

Yep, same here with the disappearing mouse cursor.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 70 guests