Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
la asignación falló para cada JavaScript

Estoy en una raspberry pi 4 con el nodo V16.11.1. Entonces tuve este error de falla de asignación:

 <--- Last few GCs ---> [9529:0x47e15e0] 63 ms: Mark-sweep 0.3 (2.8) -> 0.2 (2.8) MB, 3.5 / 0.0 ms (average mu = 0.242, current mu = 0.014) allocation failure GC in old space requested [9529:0x47e15e0] 67 ms: Mark-sweep (reduce) 0.2 (2.8) -> 0.2 (1.8) MB, 3.4 / 0.0 ms (average mu = 0.144, current mu = 0.016) last resort GC in old space requested [9529:0x47e15e0] 71 ms: Mark-sweep (reduce) 0.2 (1.8) -> 0.2 (1.8) MB, 3.7 / 0.0 ms (average mu = 0.079, current mu = 0.011) last resort GC in old space requested <--- JS stacktrace ---> FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Aborted

Busco solución, probé:

 node --max-old-space-size=4096 index.js export NODE_OPTIONS=--max_old_space_size=4096

Nada funciona e incluso cuando pruebo "npm" o "node file.js", que es un script con solo console.log ("prueba") y tengo el mismo problema...

Pero con sudo node index.js funciona, pero creo que es un problema con mi nodo. Intento volver a instalar pero nada cambia...

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!