When running with --trace-gc option I see:
[57114:0x7f98b0008000] 6278 ms: Scavenge 133.5 (156.4) -> 123.1 (157.9) MB, pooled: 0 MB, 1.87 / 0.02 ms (average mu = 0.998, current mu = 0.998) task;
or
[58517:0x7fb258008000] 4570 ms: Scavenge 124.8 (149.8) -> 111.4 (149.8) MB, 0.95 / 0.02 ms (average mu = 0.995, current mu = 0.996) allocation failure;
Environment details
@google-cloud/pubsub
version: ^4.4.1Steps to reproduce
Index.ts:
Error:
Run:
tsx index.ts
When running with
--trace-gc
option I see:[57114:0x7f98b0008000] 6278 ms: Scavenge 133.5 (156.4) -> 123.1 (157.9) MB, pooled: 0 MB, 1.87 / 0.02 ms (average mu = 0.998, current mu = 0.998) task;
or[58517:0x7fb258008000] 4570 ms: Scavenge 124.8 (149.8) -> 111.4 (149.8) MB, 0.95 / 0.02 ms (average mu = 0.995, current mu = 0.996) allocation failure;