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

Parsing large OpenAPI documents leads to memory issues #48

Open
jcmcken opened this issue Mar 10, 2021 · 1 comment
Open

Parsing large OpenAPI documents leads to memory issues #48

jcmcken opened this issue Mar 10, 2021 · 1 comment

Comments

@jcmcken
Copy link

jcmcken commented Mar 10, 2021

E.g. if you parse the Kubernetes swagger.json (~5.1MB of JSON as of this issue), even with a pretty beefy machine, you eventually run out of memory.

@andreb89
Copy link

I had the same issue. The solution is to install pip with python3 and NOT python2.
The memory leak issue only happens, at least for me, if I install openapi2jsonschema with the python2 pip.

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

2 participants