"No free token memory"

Hi,

MIOS Studio gives me the following output when I load a setup:

[688.529] [MBNG_FILE_C] Event Pool Number of Items: 377
[688.530] [MBNG_FILE_C] Event Pool Allocation: 23353 of 65536 bytes (35%)
[689.336] [MBNG_FILE_R:214] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.339] [MBNG_FILE_R:215] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.339] [MBNG_FILE_R:216] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.339] [MBNG_FILE_R:217] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.339] [MBNG_FILE_R:218] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.339] [MBNG_FILE_R:219] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.341] [MBNG_FILE_R:221] ERROR: no free token memory anymore (16384 bytes allocated!)
[689.341] [MBNG_FILE_R:2781] stopped script execution due to previous error!
[689.374] First Bank
[689.374] [MBNG_FILE_R_Exec] ERROR: unsupported value at mem pos 0x4000!

The setup in question (for a different synth than in my other thread about sysex) has 336 NRPN encoder events, distributed in banks and into layer A and layer B within each bank by using NGR to deactivate and activate events. My other setup for sysex based control has more events (though it consumes a few percentage points less memory in the event pool than this one).

When I comment out the biggest bank (2×4×16 = 128 events), the error output is gone. I realise this might be a limitation I just have to adapt to, but I post this in case it isn’t.

 

Hi,

linking this information with your proposal for “bulk operations”, and it makes sense :wink:

< base_url >/topic/21251-banks-and-if_equal-selections/?do=embed&embedComment=185692&embedDo=findComment

Would “combined” set_active help to reduce the number of commands, or are there other commands which are repeating a lot?

Best Regards, Thorsten,

 

 

_ set_active ENC:xx 0 _ is the command that gets repeated a lot, they make up most of the lines in my NRG files (2500/3300 for the sysex one and 1500/1900 for the NRPN one).

Ok, then please try this version: http://www.ucapps.de/mios32/midibox_ng_v1_037_pre10.zip

It allows to specify ranges, e.g. with:

set\_active (id)ENC:1..4095 0

all encoders will be set to non-active state

Best Regards, Thorsten.

Works!!