当前位置:网站首页>2、 Relationship between software operation and memory
2、 Relationship between software operation and memory
2022-07-28 20:05:00 【A programmer who loves playing badminton】
Memory is used under the unified management of the operating system
- The software needs Request storage space from the operating system , When there is enough free memory , The operating system will allocate a section of memory space and store a copy of the software in the external memory in the memory space , And start the operation of the software .
- While the software is running , The memory space occupied by the software No longer allocate To other software .
- When the software is running , operating system This memory space will be reclaimed ( Be careful : The operating system does not empty the data left by the memory space ), For redistribution to other software .
in summary : In the space allocated by a software, there is likely to be residual data used by other software before , These data are called Junk data . So usually we need to be a variable 、 Is an array , After allocating storage space , Initialize the memory space .
边栏推荐
- Know small and medium LAN WLAN
- 【微信小程序开发】页面导航与传参
- [wechat applet development] page navigation and parameter transmission
- Token verification program index.php when configuring wechat official account server
- MySQL8 tmp_ table_ Size and Max_ heap_ table_ size
- Can China make a breakthrough in the future development of the meta universe and occupy the highland?
- Theoretical knowledge of digital image (I) (personal analysis)
- leetcode day1 分数排名
- 克服“看牙恐惧”,我们用技术改变行业
- Concurrent programming, do you really understand?
猜你喜欢

English translation Arabic - batch English translation Arabic tools free of charge

CDGA|工业互联网行业怎么做好数据治理?
![[wechat applet development] page navigation and parameter transmission](/img/10/76b6592fa9e71073831887c4fb6da9.png)
[wechat applet development] page navigation and parameter transmission

leetcode day1 分数排名

adb remount of the / superblock failed: Permission denied

Sprint for golden nine and silver ten, stay up at night for half a month, collect 1600 real interview questions from Android post of major manufacturers

JS preventdefault() keyboard input limit onmousewheel stoppropagation stop event propagation

Theoretical knowledge of digital image (I) (personal analysis)

Tencent cloud deployment lamp_ Experience of building a station

Rand function generates pseudo-random numbers
随机推荐
XOR operation and its usage
爬取IP
There are five certificates in the soft examination advanced examination, which is more worth taking?
通信网络基础知识01
Getting started with enterprise distributed crawler framework
String中常用的API
利用STM32的HAL库驱动1.54寸 TFT屏(240*240 ST7789V)
Leetcode Day1 score ranking
基于C语言的信息管理系统和小游戏
Thoroughly understand bit operations - shift left, shift right
[C language] initial C language reflection and summary
JS preventdefault() keyboard input limit onmousewheel stoppropagation stop event propagation
[C language] Fibonacci sequence [recursion and iteration]
Know small and medium LAN WLAN
C language operators and input and output
Source insight project import and use tutorial
“中国网事·感动2022”二季度网络感动人物评选结果揭晓
河北:稳粮扩豆助力粮油生产提质增效
Idea properties file display \u solution of not displaying Chinese
[网络]跨区域网络的通信学习IPv4地址的分类和计算