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
Memory allocation
19 posts
• Page 1 of 2 • 1, 2
Memory allocation
One thing i remember from good ole SM times is a memory allocation prob after deleting VST plugs.
I just ran into the same thing. After deleting an instance of my plug app. 30% of the used memory when loaded will not be released. In my case that means every load/unload increses the host memory use 30-50 MB. (Observed in Cubase and Reaper)
What discovers the next prob right away.
Without hacking the hell out the plug and getting rid of all what can be killed the whole thing is blown up to 150MB/instance. Though i use 200knobs/switches (all sharing the same 10 bitmaps) and 4 delays which occupy 20MB altogether this is way too much.
But that's another story...
Does anyone know if the memory alloc problem was fixed anytime or if there's anything what could be done to avoid it?
I just ran into the same thing. After deleting an instance of my plug app. 30% of the used memory when loaded will not be released. In my case that means every load/unload increses the host memory use 30-50 MB. (Observed in Cubase and Reaper)
What discovers the next prob right away.
Without hacking the hell out the plug and getting rid of all what can be killed the whole thing is blown up to 150MB/instance. Though i use 200knobs/switches (all sharing the same 10 bitmaps) and 4 delays which occupy 20MB altogether this is way too much.
But that's another story...
Does anyone know if the memory alloc problem was fixed anytime or if there's anything what could be done to avoid it?
- stw
- Posts: 111
- Joined: Tue Jul 13, 2010 11:09 am
Re: Memory allocation
confirmed in renoise too, also when plugs dont use any images and have just 5 (ruby) knobs
also tested with just one lightweight ruby knob for vol and a clip fx plugin, nothing else, memory increases with every reload
also tested with just one lightweight ruby knob for vol and a clip fx plugin, nothing else, memory increases with every reload
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Memory allocation
I had this problem with SM, but in my case I was using samples, so problem was a lot worse. everytime someone unloads my VST, 125MB of memory remains occuppied by samples than won´t be used again.
I never upgraded to FS so I don´t know if the problem is the same when using samples. You should check and inform the developers.
I never upgraded to FS so I don´t know if the problem is the same when using samples. You should check and inform the developers.
- Tzarls
- Posts: 54
- Joined: Thu Oct 21, 2010 2:10 am
Re: Memory allocation
what i also found out when compaaring with other plugins is that some of the old tobybear plugs have the same effect but in a smaller rate, but also some of the big ones like effectrix and wizoo verb are increasing the memory when reloading them but just 2 or 3 times then they keep the memory at the same level and stop increasing when reloading..
how weird?
how weird?
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Memory allocation
Before i bother Malc with a bug report i prepared a small test .fsm to get some user confirmation.
It contains two modules each creating a 128MB memory buffer. One with the mem create prim and one with a variable declaration in code.
On my VST hosts the Mem Create prim version loads and unloads fine while the code version locks the complete memory buffer when unloading it!
Would be nice to get feedback from some testers.
It contains two modules each creating a 128MB memory buffer. One with the mem create prim and one with a variable declaration in code.
On my VST hosts the Mem Create prim version loads and unloads fine while the code version locks the complete memory buffer when unloading it!
Would be nice to get feedback from some testers.
- stw
- Posts: 111
- Joined: Tue Jul 13, 2010 11:09 am
Re: Memory allocation
Ok, i bothered Malc just without any other user approvements. Here's the result.
As quick as in earlier bug conversations i had with him he presented the solution. A new VST.dll
I'm permitted to share it here so feel free to download it in case you want to export a proper working VST plug.
As quick as in earlier bug conversations i had with him he presented the solution. A new VST.dll
I'm permitted to share it here so feel free to download it in case you want to export a proper working VST plug.
- stw
- Posts: 111
- Joined: Tue Jul 13, 2010 11:09 am
Re: Memory allocation
thx stw for sharing this, but what to do with this dll?
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Memory allocation
Exchange it with the original .dll in your Flowstone folder
- stw
- Posts: 111
- Joined: Tue Jul 13, 2010 11:09 am
Re: Memory allocation
Regarding vst.dll I found that dspr uses upx to compress file. So I just did few test (with different compression settings) and found that uncopressed dll uses 1mb less memory (in my case) and plugin load three times faster. Original, compressed dll file is (roughly) 1.8mb and uncopressed is 7mb - that's only drawback.
-
TrojakEW - Posts: 111
- Joined: Sat Dec 25, 2010 10:12 am
- Location: Slovakia
19 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 71 guests