nodejs-firestore: GRPC related crash when committing batch updates

Environment details

  • OS: OS: Mac OS 10.15 Beta (19A573a)
  • Node.js version: v12.10.0
  • npm version: 6.10.3
  • @google-cloud/firestore version: 3.0.0

Steps to reproduce

  1. Create several batch updates and commit them all at once:
const batches =[b1, b2, b3, b4, b5];
await Promise.all(batches.map(async (b) => b.commit()));

I then get these errors (sometimes but not always) Screen Shot 2019-12-18 at 8 52 10 PM

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

can we please reopen this? This is extremely urgent as I am now blocked no matter which way i go:

  • If i use firestore 2 i dont have this error but the memory leaks are too big
  • If i use firestore 3 this error occurs and my application crashes