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

need calculate memory usage for multiple connection #10

Open
gaojiaqi7 opened this issue Jun 21, 2023 · 2 comments · May be fixed by #70
Open

need calculate memory usage for multiple connection #10

gaojiaqi7 opened this issue Jun 21, 2023 · 2 comments · May be fixed by #70
Assignees

Comments

@gaojiaqi7
Copy link
Contributor

No description provided.

@gaojiaqi7
Copy link
Contributor Author

gaojiaqi7 commented Oct 30, 2023

Memory usage in async await approach:

Heap Stack Shared memory
No request 533,688 B 12,360 B 98,304 B
1 requests 690,635 B 47,064 B 159,744 B
10 requests 2,103,158 B 359,400 B 1,449,984 B
16 request 3,044,840 B 567,624 B 2,260,992

Calculate heap usage for n request:

156947 x n + 533688

Calculate stack usage for n request:

34704 x n + 12360

Calculate DMA usage for n (>1) request:

135168 x n + 98304

@gaojiaqi7
Copy link
Contributor Author

gaojiaqi7 commented Oct 30, 2023

The currenct metadata configuration (32M perm memory) can support up to ~32 requests concurrently per calculation.

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

Successfully merging a pull request may close this issue.

1 participant