Page 1 of 1

Memory leakage with line editor ,advanced envelope ?

PostPosted: Mon Jul 10, 2017 9:27 pm
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 ?

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

PostPosted: Mon Jul 10, 2017 9:59 pm
by lalalandsynth
:o

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

PostPosted: Tue Jul 11, 2017 12:02 am
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 925 times

Re: Memory leakage with line editor ,advanced envelope ?

PostPosted: Tue Jul 11, 2017 7:20 am
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

Re: Memory leakage with line editor ,advanced envelope ?

PostPosted: Tue Jul 11, 2017 3:51 pm
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.