xeokit-convert icon indicating copy to clipboard operation
xeokit-convert copied to clipboard

memory access out of bounds

Open noblejrepo opened this issue 3 years ago • 5 comments

Hi,

I follow this instruction

Capture2

I build the wasm successfully.

Then I replaced the "web-ifc.wasm" in xeokit-convert/dist and launched the convertion but it was not worked. I got this

Capture

Any idea for me ?

noblejrepo avatar Nov 05 '21 09:11 noblejrepo

Exactly the same error for me

sigurdne avatar Mar 19 '22 17:03 sigurdne

Tried det following:

1 Build the web-ifc according to instructions 2 cloned the source for xeokit-convert 3 ran "npm update" inside xeokit-convert 4 copied the content from web-ifc/dist (from step 1) to xeokit-convert/node_modules/web-ifc/ 5 ran "npm run build" inside xeokit-convert

BUT - still: Error: RuntimeError: memory access out of bounds

Any clues?

sigurdne avatar Mar 23 '22 09:03 sigurdne

Found out! Tweaked the MAXIMUM_MEMORY in package.json for web-ifc In my case: set it to MAXIMUM_MEMORY=2GB

sigurdne avatar Mar 25 '22 09:03 sigurdne

Tried to convert with new web-ifc version 0.0.39. I got a lot of strange logs, but it worked.

g-rodigy avatar Apr 01 '23 19:04 g-rodigy

Nice! Would you like to make a PR with the MAXIMUM_MEMORY=2GB and web-ifc 0.0.39?

xeolabs avatar Apr 01 '23 19:04 xeolabs