You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you're right. This is the scenario with a certain post of operations and dependencies in the schema. The problem is how I parse JSON and try to match ocelot routing to swagger endpoints.
Unfortunately I don't have the time to fix this right now. If you feel like it, you can try it. It's all done in the SwaggerJsonTransformer class.
If not then you can try use the parameter RemoveUnusedComponentsFromScheme
Ocelot requires up to 500Mb additional memory to start a service with UseSwaggerForOcelotUI enabled.
How to reproduce:
swagger.json
file size 688Kb, about 300 operationsroutes.json
56Kb with routes to 2 external services and gateway inselfIf use ocelot routes with a service with only a few operations ( 10 operations ) it takes much less memory:
So it looks like more operations in target service - ocelot will take and keep more memory.
The text was updated successfully, but these errors were encountered: