Vidéos
https://developer.mozilla.org › fr › docs › Web › JavaScript › Memory_management
Gestion de la mémoire - JavaScript | MDN - MDN Web DocsNode.js propose certaines options et outils pour configurer et déboguer des problèmes mémoires. Ces fonctionnalités peuvent ne pas être disponibles dans les environnements navigateur.
https://developer.mozilla.org › en-US › docs › Web › JavaScript › Memory_management
Memory management - JavaScript | MDN - MDN Web DocsSome high-level languages, such as JavaScript, utilize a form of automatic memory management known as garbage collection (GC). The purpose of a garbage collector is to monitor memory allocation and determine when a block of allocated memory is no longer needed and reclaim it. This automatic process is an approximation since the ...
https://javascript.info › garbage-collection
Garbage collection - The Modern JavaScript TutorialThe basic garbage collection algorithm is called “mark-and-sweep”. The following “garbage collection” steps are regularly performed: The garbage collector takes roots and “marks” (remembers) them. Then it visits and “marks” all references from them. Then it visits marked objects and marks their references. All visited ...
https://herewecode.io › fr › blog › garbage-collector-en-javascript
Le Garbage Collector en JavaScript - HereWeCodeEn Javascript, c’est le garbage collector (ramasse-miette en français – oui, ça fait un peu penser à un aspirateur de table) qui est responsable de libérer l’espace mémoire inutilisé. Afin de mieux comprendre le fonctionnement du garbage collector , nous allons aborder le concept d’accessibilité.
https://code-garage.fr › blog › comment-fonctionne-le-garbage-collector-en-javascript
Comment fonctionne le Garbage Collector en Javascript - Code-GarageLe Garbage Collector, aussi appelé GC, ou parfois "ramasse-miettes" en français désigne un processus automatisé dont le but est de libérer la mémoire dynamique (heap) inutilisée par un programme au fur et à mesure de son exécution.
https://betterprogramming.pub › deep-dive-into-garbage-collection-in-javascript-6881610239a
A Deep Dive Into Garbage Collection in JavaScriptOverview of Memory Management. Typically, there are two ways of memory management: automatic or manual. Automatic memory management: GC is a form of automatic memory management. When the memory is no longer referenced, it will be reclaimed by the garbage collector, e.g., JavaScript, Go, Java, Python.
https://felixgerschau.com › javascript-memory-management
JavaScript's Memory Management Explained - Felix GerschauIn this article, I'll introduce you to how memory allocation and garbage collection works and how you can avoid some common memory leaks. How does JavaScript work in the browser? This article is the second part of my post series, where I explain how JavaScript works in the browser.
https://dev.to › thebuildguy › working-of-garbage-collection-in-javascript-under-the-hood-231e
Working of Garbage Collection in JavaScript: Under the HoodThe memory management has three steps in it’s lifecycle: In programs of every language, these three steps are taken in respect to memory management. Allocate: This allocates appropriate memory space to the respective entities. Manual memory managed languages like C and C++ do this manually.
https://herewecode.io › fr › blog › understand-memory-in-javascript
Comprendre la mémoire en JavaScript | HereWeCodeEn JavaScript, on distingue deux types de mémoires, la mémoire dite statique (stack) et la mémoire dite dynamique (heap). Vous avez d’ailleurs peut-être déjà entendu ces deux mots mais nous allons voir quelles sont leurs réels différences.
https://www.geeksforgeeks.org › memory-management-in-javascript
Memory Management in JavaScript - GeeksforGeeksMemory management in JavaScript is handled automatically by the runtime environment, typically the JavaScript engine in web browsers or Node.js. JavaScript uses a garbage collector to manage memory and ensure that developers do not need to manually allocate or deallocate memory.