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

Find what is causing the Metabase API to consume memory #26

Open
preaction opened this issue Jun 2, 2018 · 0 comments
Open

Find what is causing the Metabase API to consume memory #26

preaction opened this issue Jun 2, 2018 · 0 comments

Comments

@preaction
Copy link
Member

The legacy Metabase API slowly consumes a lot of memory. This eventually causes processes to be killed by the Out-of-Memory Killer (and not always the process we want). We should find out what is causing this slow leak and stop it.

The most likely culprit is in the Metabase::* modules. None of the other Mojolicious applications have this problem, and they all use the same modules except for the Metabase::* modules which are only used by the cpantesters-legacy-metabase.

Fixing the Metabase modules themselves may not be the best solution: This is a legacy API kept for backwards compatibility until new clients start using the new API (http://api.cpantesters.org). If the Metabase modules are difficult to fix, we can excise them from the API and Schema modules in favor of direct manipulation of the serialized JSON structure.

These are difficult tasks, so be forewarned. This is not a crisis, as we are mitigating the problem in #25.

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

No branches or pull requests

1 participant