Memory leakage with line editor ,advanced envelope ?

For general discussion related FlowStone
Post Reply
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Memory leakage with line editor ,advanced envelope ?

Post by lalalandsynth »

What could possibly cause such huge amount of memory usage, plugin opens at 70 mb and then keeps increasing.
Much slower increase when gui is closed but almost 1 Mb every 2 seconds when open.
I noticed it when it reached 1.5 gb ..it would probably go further.

I am using the line editor as a basis for the plugin , I went back all versions until I only had the original line editor left and no other additions. It happens with only the line editor running.

Barebones line editor opens at 26 mb and keep increasing.


Happens for the 3.08 and 3.09 version VST.

Can upload project unless this is a known issue ?
Last edited by lalalandsynth on Tue Jul 11, 2017 12:18 am, edited 4 times in total.
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Massive memory usage , up to 1.5 gb :P

Post by lalalandsynth »

:o
Last edited by lalalandsynth on Tue Jul 11, 2017 12:20 am, edited 1 time in total.
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Massive memory usage with line editor, up to 1.5 gb :P

Post by lalalandsynth »

Ok, done a lot of testing .

This is somewhat of a 3.09 problem, happens with most synths I export from 3.09.
Also from synths/items opened in 3.09 , saved as 3.08 , opened in 3.08, exported.

However, using the original advance envelope from Father opening in 3.08, exporting as VST.

It does creep up in memory usage ..tested two computers .
Its a mystery , its a pretty simple fsm/vst .

Can anyone try this ? I would rather solve this envelope issue before I start all over again with 3.08 .
Advanced Envelope.fsm
(496.6 KiB) Downloaded 989 times
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Memory leakage with line editor ,advanced envelope ?

Post by Spogg »

I haven't tested for this but try this first:

Go to every code box, Ruby, DSP and ASM you have in the Saved as 3.08 project.

In each box do cntrl A to select all the contents, do ctnrl X, click outside the box, click inside the box and do cntrl V, then click outside the box. This will force a re-compile with the correct 3.081 compilers.

Save the project, export the VSTi and re-test.

If any problems still exist it may need a Ruby guy to help...

Good luck!

Spogg
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Memory leakage with line editor ,advanced envelope ?

Post by lalalandsynth »

I downloaded the Advanced envelope from this post viewtopic.php?f=3&t=3388&p=27912&hilit=advanced+envelope#p27912

Opened in 3.08 , exported as VST and it has the memory leak. Surprising that no one has noticed this , it must have been used a lot.

Phonics phenom also has this envelope to draw an oscillator - exported that as VST and it does not leak.
Difference is that it does not have the 4 save states or load and save, possibly something more.
Ruby script is the same.

I can live with doing the whole thing again if I have to , but I would need the advanced envelope to work.
Doing some more testing today , lets see.
Post Reply