RobertCraigie / prisma-client-py

Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
https://prisma-client-py.readthedocs.io
Apache License 2.0
1.82k stars 77 forks source link

Investigate memory usage #620

Open RobertCraigie opened 1 year ago

RobertCraigie commented 1 year ago

Problem

We haven't put any effort towards investigating whether or not there are any memory leaks / improvements that could be made.

Suggested solution

TBD

Additional context

https://discord.com/channels/933860922039099444/933860923117043718/1047108450737459281

nettrino commented 3 weeks ago

This would be useful to improve upon as running a profile with memray shows a mem overhead of about 600MB for a large schema as all the types etc are loaded