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
.
During fixing of references in the OpenAPI document, the document is first serialized into a StringBuilderobject. The conversion of the StringBuilder object to a string and the OpenAPI.NET library method that reads this string (OpenApiStringReader().Read()) ends up allocating a significant amount of memory for this process, especially for beta paths, which are appr. double the size of v1.0 paths. There is need to review this fixing of references.
Describe the bug
500 out-of-memory
error when calling DevX API withforceRefresh=true
whengraphVersion
isbeta
and intermittently inv1.0
.To Reproduce
Steps to reproduce the behavior:
{"StatusCode":500,"Message":"Exception of type 'System.OutOfMemoryException' was thrown."}
Expected behavior
An OpenAPI document should be returned when
forceRefresh=true
.Additional context
The issue is blocking PowerShell's weekly OpenAPI refreshes from getting the latest API refreshes.
The text was updated successfully, but these errors were encountered: