📄 cwp4304.htm
字号:
<!-- saved from url=(0007)http:// -->
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><TITLE>Perst.Storage.GetMemoryDump</TITLE><LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css"></HEAD><BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" ><DIV CLASS="PageHeading">Perst.Storage.GetMemoryDump Function</DIV><DIV CLASS="Description">
Get database memory dump. This function returns hashmap which key is classes
of stored objects and value - MemoryUsage object which specifies number of instances
of particular class in the storage and total size of memory used by these instance.
Size of internal database structures (object index, memory allocation bitmap) is associated with
<code>Storage</code> class. Size of class descriptors - with <code>System.Type</code> class.
<p>This method traverse the storage as garbage collection do - starting from the root object
and recursively visiting all reachable objects. So it reports statistic only for visible objects.
If total database size is significantly larger than total size of all instances reported
by this method, it means that there is garbage in the database. You can explicitly invoke
garbage collector in this case.</p>
<P></DIV><IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2"><IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1"><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Public System.Collections.Hashtable GetMemoryDump ()</SPAN></DIV><TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0><TR height=20><TD width=20> </TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD><TD CLASS="TableLightLabel" WIDTH=206>Return</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20> </TD></TR><TR height=20><TD width=20> </TD><TD CLASS="TableLightDesc"> </TD><TD CLASS="TableLightDesc">System.Collections.Hashtable</TD><TD CLASS="TableLightDesc"> </TD><TD width=20> </TD></TR></TABLE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -