function allocateMemory(lang) {
        var specVal = new Map(
            [["de", 54], ["hu", 205], ["nb-no", 91], ["nl", 41]]
        );
        var wasmPages = specVal.get(lang) || 32;
        H.specMems = H.specMems || new Map();
        if (H.cf.wasm) {
            H.specMems.set(lang, new wa.Memory({
                "initial": wasmPages,
                "maximum": 256
            }));
        } else {
            /* eslint-disable no-bitwise */
            var asmPages = (2 << Math.floor(
                Math.log(wasmPages) * Math.LOG2E
            )) << 16;
            /* eslint-enable no-bitwise */
            H.specMems.set(lang, new ArrayBuffer(asmPages));
        }
    }
Pre-Allocate memory for (w)asm
Default is 32 wasm Pages (). For languages with larger .hpb
files a higher value is needed.
Get the value from baseData.heapSize in Hyphenopoly.js
@param {string} lang Language
@returns {undefined}