Hi :wave: ... I just started using `prisma` and it...
# prisma-client
b
Hi 👋 ... I just started using
prisma
and it's been great. At first, I didn't realized there's an additional executable that runs to make the client work. I replaced using
pg
with
@prisma/client
and noticed that my deployment to kubernetes kept crashing. This was due to having a low requested memory limit. A couple of questions: • Is there a minimum or recommended memory requirement to run the
prisma
engine (postgres in this case)? • What's the best way to monitor and possibly handle memory usage of the engine from within my Node.js process?
r
@Brian Woodward 👋 • I would recommend something starting from 512 MB as that should be enough • Tools like Prometheus or CloudWatch (if in AWS) should help with monitoring memory usage
b
Thanks, that helps.