pengkobe / reading-notes

:stars: to record daily reading notes. I build an issue blog to record daily FE study notes. suggestion and comments are welcomed.
https://github.com/pengkobe/reading-notes/issues
MIT License
13 stars 1 forks source link

内存泄漏 #486

Open pengkobe opened 5 years ago

pengkobe commented 5 years ago

注意要和内存溢出区分开来,内存溢出是指程序在申请内存时,没有足够的内存空间供其使用,一般会提示为 out of memory,而内存泄漏指的是程序在申请内存后,无法释放已申请的内存空间。如果硬是说有关系的话,那么可以说内存泄漏会导致内存溢出。