Web SDK Memory Out Of Bounds exception

If you get this error while using DeepAR on your domain, you should check the metadata header settings (Content-Encoding and Content-Type) for .js, .wasm, model and effect files on your server.

These are explained in the getting started guide

You can also Inspect your page and compare the metadata headers to one of our demo examples. This should make it any mismatches easier to spot.

1 Like

Hi Jelena,

Thanks for the message. We’ve checked our content-type headers for all the necessary files, but still are encountering the same ‘Memory Out of Bounds’ error message. Did we miss something?

Website is here for your reference:
https://www.tvasurg.ca/test_AST/

Thanks!
Alb

@psychicpotato We had a look at your issue. It looks like your content-type is correct, but the aviators file somehow got corrupted.

Could you please try with this version of the file?

aviators.deepar.zip (565.6 KB)

i had two helmet model For the first helmet tracking it is perfect and working fine but when i am using the second helmet model Facing the memory out of bounds Exception
The metadata headers are correct and the project file size is 7.6MB(second helmet)
can you please let me know what need to be checked to remove this error

Can u give me clear idea when the memory out of bounds errors throws and table index is out of bounds errors throws

Hi, sorry but we don’t have enough info to reliably reproduce this issue, last I saw you had corrupted .deepar files issues which I’m not sure how it could have happened but it could be happening again.

While using the DeepAR 4.3.0 i am able to get the effect correctly while using DeepAR 4.4.0 it is throwing the memory out of bounds errors

where can i get the 4.3.0 version of DeepAR

Hi Jelena,

I am having a similar issue for the shoe-try-on sample application ( GitHub - DeepARSDK/shoetryon-web-js: Shoe try-on example app with DeepAR Web SDK ).

I am not able to load one of my deepar file. Its throwing memory out of bounds exception. Can you please help me resolve the issue? I am not allowed to attach the whole codebase here.

Please send me your email id, I will send the whole codebase and also the deepar file which I am trying to upload there.