国产探花免费观看_亚洲丰满少妇自慰呻吟_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.

 


 

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 双峰县| 定州市| 视频| 西乌珠穆沁旗| 睢宁县| 丹巴县| 永福县| 兰溪市| 海原县| 镶黄旗| 永康市| 沁源县| 开原市| 翼城县| 柳河县| 育儿| 瑞昌市| 新民市| 大方县| 昭通市| 泾阳县| 宁远县| 巨鹿县| 百色市| 特克斯县| 宜章县| 宾川县| 靖边县| 玛多县| 布尔津县| 盘锦市| 天津市| 应用必备| 呼和浩特市| 剑阁县| 屯昌县| 伽师县| 蒙城县| 贡嘎县| 海安县| 靖安县|