-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memory access out of bounds issues with the nodejs-server-sdk #868
Comments
Hey @gleidin, sorry to hear about the issue you're running in to. Would it be possible to get some more information about your stack and implementation? Valuable information would include: how your app starts up/shuts down, as well how your |
Hey @elliotCamblor thanks for the fast replay. Of course, the stack is quite messy, I would say, the application is a huge monolith, using express, and the One thing that is worth mention, we have a to-deprecate feature-flag service that we have implemented before that works as an authorization feature flag service. So we implemented the I am not quite sure if the library is made to support such traffic, or should we implement it at lower usage operation? |
Hey @gleidin, thank you! I have a few more followup questions: We don't believe that the loads you mentioned shouldn't be a problem, as we run the sdk under similar load ourselves. However, I don't want to rule anything out. Additionally, if you aren't comfortable sharing details in this public forum, you're welcome to join our discord/slack. Just let me know and I can get you an invite to either/both. |
Hello! Starting from the hot reloading question, no, we don't it. It happened on production only (typically) the stage environment was using it too for more than 2 days and we couldn't detect issues running our acceptance tests. And yes, we saw that with more frequency during the peak time. However, we had a few cases before. Note: Since you confirmed that load shouldn't be a problem I will work here to add it back and roll out it slowly, and stressing more on our backend side. And if I get a better error message or more details I'll bring them up here. |
That would be great, let us know what you find! |
Hi! It's me again! haha
This time I bring up something more critical, we deployed the solution to stage, then production we saw a sudden increase of memory from the pods, and then the pods started crashing due to the
memory access out of bounds
error.The error started occurring more frequently, and we rolled it back.
We are using the same stack, just updated the library as you recommended.
Node: v16.20.2 (npm v8.19.4)
@devcycle/nodejs-server-sdk: ^1.30.1
Could someone help with this issue?
The text was updated successfully, but these errors were encountered: