Skip to content
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

High Memory Usage Issue During APIM Analytics server Restarts #3035

Open
rizmir22 opened this issue Aug 1, 2024 · 0 comments · May be fixed by siddhi-io/siddhi#1840
Open

High Memory Usage Issue During APIM Analytics server Restarts #3035

rizmir22 opened this issue Aug 1, 2024 · 0 comments · May be fixed by siddhi-io/siddhi#1840

Comments

@rizmir22
Copy link

rizmir22 commented Aug 1, 2024

Description

Hi Team,

There is high memory usage during the APIM Analytics server restart. During the investigation, we found that this issue occurs because the analytics server tries to recreate the state even though there are no issues with the aggregation. We identified a possible root cause at the code level, and we need to fix it.

Steps to Reproduce

This issue reproduces when there is a large amount of data for aggregation. The Analytics server tries to load the AGG_TIMESTAMPS of each granularity and recreate them during the restart, even though there are no issues. If there is a high volume of data, it leads to an Out Of Memory (OOM) state.

Affected Component

Analytics

Version

3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

wso2am-analytics-3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant