Getting this heap error when trying to deploy a website

hello guys, i am trying to deploy a website but as I try it, I am getting this error of heap memory error. I think this error is coming from me using some kinds of Algorand functions or I could be wrong. Does anyone have tips on how I should try to deal with this problem? Any advice is appreciated.

I’ve never seen this issue with the Algorand SDK.
It is not to say that it’s impossible that it comes from there, but I would rule it unlikely.

Most likely, the leak comes from another part of your application.

I would use the Chrome inspector to see what objects take too much space on the heap, for example following: Memory Leaks Demystified - NodeSource