---
title: "Shallow and retained sizes"
author: "dikar"
date: "2012-10-01T16:50:27Z"
tags: []
categories: ["开源软件"]
slug: "shallow-and-retained-sizes"
draft: false
lastmod: "2012-10-01T16:50:27Z"
id: 1689077
url: "https://dikar.iteye.com/blog/1689077"
---

1：Shallow and retained sizes

[http://www.yourkit.com/docs/11/help/sizes.jsp](http://www.yourkit.com/docs/11/help/sizes.jsp)

yourkit分析工具的文档，有图示说明。

 

2：Shallow and retained heap

[http://publib.boulder.ibm.com/infocenter/hctool/v1r0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.memory.analyzer.doc%2Fshallowretainedheap.html](http://publib.boulder.ibm.com/infocenter/hctool/v1r0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.memory.analyzer.doc%2Fshallowretainedheap.html)

IBM 文档中的解释，概念上多了个Retained set 更加完整，不过图示不怎么好

 

 

3：How much memory do I need (part 1) – What is retained heap?

[http://plumbr.eu/blog/how-much-memory-what-is-retained-heap](http://plumbr.eu/blog/how-much-memory-what-is-retained-heap)

 

 

4：How much memory do I need (part 2) – What is shallow heap?

[http://plumbr.eu/blog/how-much-memory-do-i-need-part-2-what-is-shallow-heap](http://plumbr.eu/blog/how-much-memory-do-i-need-part-2-what-is-shallow-heap)