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

use static query as much as possible instead of dynamic query #91

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

Hiroki6
Copy link
Contributor

@Hiroki6 Hiroki6 commented Feb 9, 2023

Since we saw the memory consumption keeps growing in the development environment because many scala.collection.mutable.LinkedEntry objects stay alive and are used inside of the quill, I assume that using dynamic queries is the main cause.
It might be related to the issue below.
NormalizeCaching cache grows without bound

JVM does not run OOM after running a lot of dynamic queries

Therefore, I want to try to use static queries as much as possible, then do a load test and see how the memory consumption goes.

@Hiroki6 Hiroki6 merged commit bb1bcf2 into master Feb 9, 2023
Hiroki6 pushed a commit that referenced this pull request Feb 20, 2023
This reverts commit 6d2770a, reversing
changes made to dda522a.

Revert "Merge pull request #93 from ubirch/fix/remove-dynamic-query-for-oom"

This reverts commit 5aaec60, reversing
changes made to bb1bcf2.

Revert "Merge pull request #91 from ubirch/fix/remove-dynamic-query-for-oom"

This reverts commit bb1bcf2, reversing
changes made to f634424.

Revert "use quill 3.12.0"

This reverts commit f634424.

Revert "Merge pull request #90 from ubirch/feature/UC-1784-update-cassandra"

This reverts commit 7791e95, reversing
changes made to f50d2de.
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 this pull request may close these issues.

1 participant