# Client Web SDK malloc error after deployment

**URL:** <https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449>\
**Category:** Web\
**Created:** [March 11, 2021, 2:56pm UTC](https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449 "2021-03-11T14:56:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkanaki76](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vkanaki76/32/24392_2.png) [@vkanaki76](https://devforum.zoom.us/u/vkanaki76)\
**Post date:** [March 11, 2021, 2:56pm UTC](https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449/1 "2021-03-11T14:56:58Z")

</div>

**Description**  
When I running project in local then there no error, Its working fine.  
**Error**  
But when doing deployment then there error for malloc and error for Web.assembly()

ZoomMtg.preLoadWasm();  
ZoomMtg.prepareJssdk();

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/0/005d6104afb8db5afaa9b1ce2e6db384289d126c.png)

**Which Client Web SDK version?**  
Knowing the version can help us to identify your issue faster. [e.g. 1.9.0]

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 12, 2021, 6:35pm UTC](https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449/2 "2021-03-12T18:35:06Z")

</div>

Hey @vkanaki76,

Thank you for reaching out to the Zoom Developer Forum. It sounds like your production server might be missing some configuration that your local development server has.

The WebAssembly errors might be related to how you are preparing the WASM files. Are you able to share a code snippet of how you’re [importing dependencies](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build#option-1-import-module-locally) and the required library files?

Any information you’re able to provide will be helpful. You may also want to use our [Sample Web App](https://github.com/zoom/sample-app-web) as a reference when building your application.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![vkanaki76](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vkanaki76/32/24392_2.png) [@vkanaki76](https://devforum.zoom.us/u/vkanaki76)\
**Post date:** [March 15, 2021, 7:30am UTC](https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449/3 "2021-03-15T07:30:25Z")

</div>

Hey @MaxM ,  
Thank you for your valuable response, I will look as said and I will check your Sample App.

Thank you,  
Vinayak Kanaki

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 16, 2021, 6:29pm UTC](https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449/4 "2021-03-16T18:29:00Z")

</div>

Hey @vkanaki76,

I’m glad to hear that helped! Please don’t hesitate to reach out if you encounter any further issues or questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 16, 2021, 4:29am UTC](https://devforum.zoom.us/t/client-web-sdk-malloc-error-after-deployment/45449/5 "2021-04-16T04:29:04Z")

</div>

Closed on April 16, 2021, 4:29am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
