Skip to content

Cannot enlarge memory arrays to size 16781312 bytes (OOM) #209

@oliveregger

Description

@oliveregger

during the ci-build i get the following errors:

Error from https://tx.fhir.org/r4: Error: abort(Cannot enlarge memory arrays to size 16781312 bytes (OOM). Either (1) compile with -s INITIAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ) at Error at jsStackTrace (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:1675:19) at stackTrace (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:1692:16) at abort (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:1387:44) at abortOnCannotGrowMemory (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:3521:7) at _emscripten_resize_heap (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:3525:7) at wasm://wasm/003466ba:wasm-function[5377]:0xbfea0 at wasm://wasm/003466ba:wasm-function[5372]:0xbdcde at /usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:1464:22 at Object.toWireType (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:3313:25) at WrappedRE2.constructor_body (/usr/local/lib/node_modules/fhirsmith/node_modules/re2-wasm/build/wasm/re2.js:2812:58) (from server, see log)

see also
https://build.fhir.org/ig/ahdis/ch-elm/branches/master/qa.html

we did not have those errors in the published version of CH ELM in January see https://fhir.ch/ig/ch-elm/qa.html (but this might have been not FHIRsmith yet)

If I can provide any additional info please let me know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions