国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

判斷一個數據窗口占用的內存量

2024-07-21 02:08:58
字體:
來源:轉載
供稿:網友

determine the memory used by a datawindow or datastore

it is often necessary to know how much memory a datawindow or datastore is using to prevent an "out of memory" error or to facilitate debugging. when the memory usage is known, processing of data or the retrieval of data can be stopped when a maximum limit is reached.

to determine the amount of virtual memory used by a datawindow or datastore, the storage attribute is used. it can be invoked from either of the two methods below:

dot notation
dw_control.object.datawindow.storage

describe
dw_control.describe("datawindow.storage")

both cases return a string value in bytes of storage used.

note - dw_control can refer to either a datawindow or datastore

an example usage would be:

canceling a query that uses too much storage. you can check this property in the script for the retrieverow event in the datawindow control and cancel a query if it is consuming too much storage. note - this example will inject performance degradation by increasing the retrieve time.

 


 

收集最實用的網頁特效代碼!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 大荔县| 中牟县| 扎赉特旗| 营山县| 海门市| 温州市| 简阳市| 平安县| 甘南县| 两当县| 图们市| 留坝县| 崇信县| 剑河县| 萨嘎县| 大英县| 肥乡县| 蕲春县| 黑山县| 开远市| 昌图县| 灌南县| 马鞍山市| 渭南市| 阿坝县| 和平县| 雅安市| 武穴市| 丹阳市| 福安市| 安徽省| 客服| 西乌| 蒙自县| 神池县| 秦安县| 阳高县| 温州市| 九台市| 呈贡县| 石首市|