openapi2jsonschema icon indicating copy to clipboard operation
openapi2jsonschema copied to clipboard

Parsing large OpenAPI documents leads to memory issues

Open jcmcken opened this issue 4 years ago • 1 comments

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.

jcmcken avatar Mar 10 '21 16:03 jcmcken

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.

andreb89 avatar Nov 25 '21 09:11 andreb89