Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage #83

Open
felixmosh opened this issue Sep 26, 2021 · 2 comments
Open

High memory usage #83

felixmosh opened this issue Sep 26, 2021 · 2 comments

Comments

@felixmosh
Copy link

felixmosh commented Sep 26, 2021

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 felixmosh changed the title High memory usage & long load time High memory usage Sep 26, 2021
@kri5t
Copy link

kri5t commented Nov 18, 2021

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.

@hsource
Copy link

hsource commented Oct 13, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants