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
Hi Everyone,
I am facing memory issues with trpc-openapi. I have a full-stack app in NextJS using TRPC. When I visit the /openapi route to visit the swagger documentation the server memory limit is reached and the server crashes. Please see the attached images.
Can someone please help me out with this? Thanks!
Provide environment Information System:
Cloud service provider: Render
OS: 22.04.1-Ubuntu
CPU: AMD EPYC 7R13 Processor
Memory: 2.00 GB
Hi Everyone,
I am facing memory issues with trpc-openapi. I have a full-stack app in NextJS using TRPC. When I visit the /openapi route to visit the swagger documentation the server memory limit is reached and the server crashes. Please see the attached images.
Can someone please help me out with this? Thanks!
![image (2)](https://private-user-images.githubusercontent.com/41577025/269571018-698e82bd-5080-4ef6-ab50-e3bca8f6e851.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MDQ3NDEsIm5iZiI6MTcyMTQwNDQ0MSwicGF0aCI6Ii80MTU3NzAyNS8yNjk1NzEwMTgtNjk4ZTgyYmQtNTA4MC00ZWY2LWFiNTAtZTNiY2E4ZjZlODUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDE1NTQwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkMTdkOTU4YThhOTQ4MTVmNzI3ZTU3YjY4MGZkNjk4OWE1ZDkzN2ExODJmMTczOTEwODkxNzkwNDEyMmMxNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2m4-VPbwfxoskKhsSOq0SCvwhr4fQcZxoX3cPHMYyR0)
![image (1)](https://private-user-images.githubusercontent.com/41577025/269571029-2eb5c45a-6a52-4ea1-9d05-95015b84ba12.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MDQ3NDEsIm5iZiI6MTcyMTQwNDQ0MSwicGF0aCI6Ii80MTU3NzAyNS8yNjk1NzEwMjktMmViNWM0NWEtNmE1Mi00ZWExLTlkMDUtOTUwMTViODRiYTEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDE1NTQwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5MTk4OTg0YTY0YWEwMTA5OWM4NTIwZWM3ODQ0NmY3Y2Q5MjI0NDU1MWRlMWQ1ODI2MzhhODQ5MDgyN2QyYTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.B1VQwxSWXB_rxqUlv_MAh0a7AQVMxErbczE3dRR83X8)
Provide environment Information System:
Cloud service provider: Render
OS: 22.04.1-Ubuntu
CPU: AMD EPYC 7R13 Processor
Memory: 2.00 GB
Binaries:
Node: 18.12.1
Packages:
@trpc/client: 10.5.0,
@trpc/next:10.5.0,
@trpc/react-query: 10.5.0,
@trpc/server:10.5.0,
next: 12.1.6,
react: "18.1.0",
swagger-ui-react:^4.15.5,
trpc-openapi:^1.0.0,
Code:
server/routers/_app.ts
/pages/openapi.tsx
/pages/api/openapi.json.ts
pages/api/openapi/[...trpc].ts
The text was updated successfully, but these errors were encountered: