google-ads-node icon indicating copy to clipboard operation
google-ads-node copied to clipboard

High memory usage

Open felixmosh opened this issue 4 years ago • 2 comments

Hi, first of all thank you for this package 🙏🏼

I've noticed that my service at production env get's restarted due to high memory usage.

I've debugged it, and looks like proto.js is 17% of my entire app memory usage! image

There is anything we can do in order to improve it? Maybe it is better to split this file into separate "domain" based files?

felixmosh avatar Sep 26 '21 08:09 felixmosh

I have the same issue as described here. Would be great with some kind of resolution as it both takes a long time to load on cold start and it just eats a whole bunch of memory.

kri5t avatar Nov 18 '21 09:11 kri5t

@felixmosh @kri5t I recommend not using this library and using your own subset with another gRPC library (we used protobuf-ts with @grpc/grpc-js. See #99 for what we do

hsource avatar Oct 13 '22 16:10 hsource