SynthMaker

out of memory + runtime error

Archive · 2009 8 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Freddymusic ·

I made a multi sampling plugin. i use 5 multisample player in my plugin. i have 90 mb wav file in the wave array. if i want to save my osm, i can't becouse i see a window: "out of memory". i tried it with 1.1.2 and 1.1.3 rc. if i export into dll or exe, it's not work, becouse i see a message: runtime c ++ error. i have an xp and 2 Gb ram. How possible is this? My plugin would be 90-95 Mb.

Disco_Steve ·

the c++ pre compiler expands the code, its not to improbable that it has expanded the code past a limit set in the compiler, probably way less than the avaliable ram in the machine, (128mb at a gues).

if you (for testing) load in the wav files from file. does it work then?

Freddymusic ·

i'm not like the open wav from disk, but perhaps it will be the solution. if i play a melody with this plugin, it's work and i can load all wav files into the player. If i use empty sample players, i can save. I have a plan, maybe it will be good. I will test it on a virgin operation system, becouse my system is medley.

Tzarls ·

Strange that you have this problem - I´ve had 5 wave arrays loaded with 130 MB of samples, and never had problems saving or exporting (apart from the obvious huge dll and long load times).

Freddymusic ·

i tested on my laptop with windows7 + 1Gb ram. Here it's work. i think so my xp is sick.

MichaelBenjamin ·

try to switch the wave array to "covert to mono" and test again. i had some problems with that and it seems that mono arrays can get bigger without a crash at export. biggest one i could export is ~160mb mono files - did not work with stereo. otherwise make sure the array is clear. to be sure delete and reinsert from toolbox. btw the ram usage while exporting vst with wave arrays gets quite big, and when it hit about 800mb if i remember it would crash.

Freddymusic ·

oh, thank you the information. I will try it. If it's the good solution, i will write here, what happened.

Freddymusic ·

Thank you again. It was good solution. Now i can to save+load and export. It's memory hungry. If i use with digidesign asio driver it's not work, but work with another driver. i think so i can make it with 3-4 multi sample player. Maybe it will be good with digi. 🙂

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.