A memory leak is a gradual decrease in the computer's available memory. It occurs when a program persistently fails to free the temporary memory it uses. JavaScript web applications also often encounter memory-related problems that occur in native applications, such as leaks and overflows. Web applications also need to deal with garbage collection pauses. Although JavaScript uses garbage collection for automatic memory management, effective memory management is still important. In this article we will discuss analyzing memory issues in JavaScript web applications. As you learn about the features, be sure to try out the examples to increase your understanding of how these tools work in practice. Please read the Memory 101 page to familiarize yourself with the terminology used in this article. Note: Some of the features we'll be using are currently only available in Chrome Canary. We recommend using this version to get the best tools for analyzing your application's memory issues. Questions you need to think about Generally speaking, when you think you have encountered a memory leak problem, you need to think about three questions: Does my page take up too much memory?
1. Chrome Developer Tools - Graphical introduction to JavaScript memory analysis
##Introduction: Memory leaks refer to computer Gradual reduction of available memory. It occurs when a program persistently fails to free the temporary memory it uses. JavaScript web applications also often encounter memory-related problems that occur in native applications, such as leaks and overflows, and web applications also need to deal with garbage collection pauses. Although JavaScript uses garbage collection for automatic memory management, effective memory management is still important. In this article we will explore analyzing memory issues in JavaScript web applications. When learning about relevant features, please make sure to try relevant cases to improve..
2. PHP array memory usage analysis
Introduction: PHP array memory usage analysis
3. Redis memory analysis (set/get command set)
Introduction: In order to know how Redis uses memory, I analyzed the source code. This article is aimed at the set/get command set, that is, the key and value are simple strings. In addition, Redis also supports commands like hset/hget, whose value is a dictionary, which is left for later analysis. First, let’s take a look at the key data structures used to store data in Redis: 1. zmalloc (
4. Analysis of memory occupied by ordered sets and lists in Redis
Introduction: The skip table in redis consists of two structures, zskiplist and zskiplistNode, where zskiplist is used to save the information of the skip table (such as table header node, table tail node, length)
5. Hot topics of the week: Twitter’s next-generation distributed database Manhattan
Introduction: 2. Sun Yuanhao: High-speed database based on Spark engine Memory analysis and mining tool application Sun Yuanhao joined Intel in 2003. He was the Asia Pacific CTO of the Data Center Software Department of Intel Asia Pacific R&D Co., Ltd. and was responsible for the development and productization of Intel Hadoop distribution. In 2013, he left Intel to found Xinghuan Technology. Launched China’s first big data platform product based on Spark
6. Oracle in-memory data warehouse Exalytics
Introduction: Figure 1: Oracle Exalytics is an engineering system that combines hardware and software. The Exalytics memory machine hardware part is a single server that is optimally configured for the memory analysis required by business intelligence workloads, including computing power and massive memory. And options such as fast network. Oracle Exalytics’ hardware architecture - the basis of memory computingOr
7. Object-oriented_Prototype memory analysis (very important)
Introduction: Object-oriented_Memory analysis of prototypes (very important)
[Related Q&A recommendations]:
Front-end - Can javascript do memory analysis like java?
##javascript - Questions about js object prototype functions and js object functions?java - heapaudit failed to run javascript - angularjs scope will always be cached in jqcache
The above is the detailed content of Talk about the current status, prospects and opportunities of memory analysis. For more information, please follow other related articles on the PHP Chinese website!