��占用过多内存" />
<meta property="og:description" content="概述 # 切片的底层数据结构是数组，同样，切片的子切片会引用同样的数组。如果切片不主动不释放的话，那么底层的数组就会一直占用着内存。" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://golang.dbwu.tech/traps/slice_occupy_memory/" /><meta property="article:section" content="traps" />
<meta property="article:published_time" content="2023-01-01T00: