Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

RESOURCE_EXHAUSTED

Abierto
#2,948 6 comentarios 10 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
grpc, node.js, typescript
Área
api, backend

Línea de trabajo

Comienza con el comportamiento reportado de @grpc/grpc-js 1.13.1 usando el cliente de Node 16.17 y la llamada a NodeCacheUtil.set mostrada en el stack trace. Reproduce el error después de que el servidor haya estado ejecutándose, compáralo con la versión degradada y determina si el cambio corresponde a las rutas call.js y client.js; se considera terminado cuando la causa y una resolución verificada están documentadas.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

package: @grpc/grpc-js
Problem description

Getting error after update to 1.13.1
RESOURCE_EXHAUSTED: Bandwidth exhausted or memory limit exceeded

Getting issue after some time when server is up on every request and resolve for some time when restart the server

when i downgrade , issue resolved

const grpc = require("@grpc/grpc-js");
const protoLoader = require("@grpc/proto-loader");

const PROTO_PATH = __dirname + "/node_cache.proto";
const packageDefinition = protoLoader.loadSync(PROTO_PATH, { keepCase: true, longs: String, enums: String, defaults: true, oneofs: true });
const nodeCacheProto = grpc.loadPackageDefinition(packageDefinition).nodecache;

const cacheServerUrl = localhost:${process.env.CACHE_PORT || 10000};

export const gRPCclient = new nodeCacheProto.NodeCache(cacheServerUrl, grpc.credentials.createInsecure());

Environment
  • Node version - 16.17

Set Cache : ampHTML-/mahindra/global-pik-up?amp=1--en
[1] Error: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted or memory limit exceeded
[1] at callErrorFromStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/call.js:32:19)
[1] at Object.onReceiveStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
[1] at Object.onReceiveStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:361:141)
[1] at Object.onReceiveStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:324:181)
[1] at /data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/resolving-call.js:135:78
[1] at /data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:49
[1] at BasicRunContextManager.with (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/BasicRunContextManager.js:55:17)
[1] at wrapper (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:23)
[1] at processTicksAndRejections (node:internal/process/task_queues:78:11)
[1] for call at
[1] at ServiceClientImpl.makeUnaryRequest (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
[1] at ServiceClientImpl. (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
[1] at Object.set (/data/cardekho/pwa/production/dist/src/utils/NodeCacheUtil.js:11:30)
[1] at _callee3$ (/data/cardekho/pwa/production/dist/src/server-new3.js:554:41)
[1] at tryCatch (/data/cardekho/pwa/production/dist/src/server-new3.js:43:1062)
[1] at Generator. (/data/cardekho/pwa/production/dist/src/server-new3.js:43:3008)
[1] at Generator.next (/data/cardekho/pwa/production/dist/src/server-new3.js:43:1699)
[1] at asyncGeneratorStep (/data/cardekho/pwa/production/dist/src/server-new3.js:52:70)
[1] at _next (/data/cardekho/pwa/production/dist/src/server-new3.js:53:163)
[1] at /data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:49
[1] at BasicRunContextManager.with (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/BasicRunContextManager.js:55:17)
[1] at wrapper (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:23)
[1] at runMicrotasks ()
[1] at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[1] code: 8,
[1] details: 'Bandwidth exhausted or memory limit exceeded',
[1] metadata: Metadata { internalRepr: Map(0) {}, options: {} }

Lenguaje dominante
TypeScript
Estrellas
4.8k
Forks
716
Merge medio
1 d 18 h
PR fusionados (30 d)
17

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de grpc/grpc-node

Todos los issues de grpc/grpc-node

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.