• 原创作品
  • 出售信息
妈呀,竟然没找到符合条件的作品!缩短关键词,更容易搜到作品哦~

推荐网络电影剧本

· 闪开,六扇门办案!(喜剧, 动作, 古装)
· 如影随形(惊悚)
· 年龄分割(动作, 科幻)
· 透过微尘的光(校园)
· 惊天劫(动作)
· 冒牌情侣(爱情, 喜剧)
· 卧底才子(喜剧)
· 我的美女邻居(喜剧, 悬疑)
· 时之傀(喜剧, 校园, 悬疑)
· 超时空恋人(喜剧, 校园, 悬疑)

刚被收藏过的网络电影剧本

· 嫌疑人:X(悬疑)
· 蓝色海洋的传说(奇幻, 冒险, 动漫)
· 燃灯人(主旋律, 喜剧,农村)
· 爸爸带我去流浪(农村)
· 莫愁湖畔有真情(爱情)
· 时间的闪现(悬疑, 奇幻)
· 如果存在如果(爱情, 悬疑)
· 闪开,六扇门办案!(喜剧, 动作, 古装)
· 美女明星的贴身保镖(喜剧, 动作)
· 不要和陌生人睡觉(喜剧)

刚被过的网络电影剧本

· 嫌疑人:X(悬疑)
· 幻夫(奇幻, 爱情)
· 苍生笑苍刀(动作, 古装)
· 雷震子(动作, 奇幻)
· 闪开,六扇门办案!(喜剧, 动作, 古装)
· 燃灯人(主旋律, 喜剧,农村)
· 我不是李刚(喜剧)
· 中国式补课(剧情)
· 催眠犯(悬疑, 犯罪)
· 锦衣卫:皇城危机(动作, 爱情)
编剧培训班:电影编剧实战班
分享页面
返回顶部
' ' 支持通过 URL 临时覆盖阈值与Top:?memlog=1&kb=131072&minmb=2048&top=50 Const EnableAutoMemoryLog = True ' 是否自动记录高内存占用开关 Const AutoLogTopN = 50 Const AutoLogThresholdKB = 131072 ' 128MB Const AutoLogProcessMemoryMinMB = 2048 ' 实例进程内存超过 2GB 才记录 Sub AutoMemoryLog(db) On Error Resume Next If db Is Nothing Then Exit Sub Dim enable: enable = EnableAutoMemoryLog Or (LCase(Request("memlog")) = "1") If Not enable Then Exit Sub ' URL 参数临时覆盖与安全边界 Dim thresholdKB, processMinMB, topN thresholdKB = AutoLogThresholdKB processMinMB = AutoLogProcessMemoryMinMB topN = AutoLogTopN If IsNumeric(Request.QueryString("kb")) Then thresholdKB = CLng(Request.QueryString("kb")) If thresholdKB < 16384 Then thresholdKB = 16384 ' 最小 16MB If thresholdKB > 1048576 Then thresholdKB = 1048576 ' 最大 1GB End If If IsNumeric(Request.QueryString("minmb")) Then processMinMB = CLng(Request.QueryString("minmb")) If processMinMB < 512 Then processMinMB = 512 ' 最小 512MB If processMinMB > 65536 Then processMinMB = 65536 ' 最大 64GB End If If IsNumeric(Request.QueryString("top")) Then topN = CInt(Request.QueryString("top")) If topN < 10 Then topN = 10 If topN > 200 Then topN = 200 End If ' 先检查实例进程内存是否超过阈值(2GB),否则不记录 Dim rsMem: Set rsMem = Server.CreateObject("ADODB.Recordset") rsMem.Open "SELECT physical_memory_in_use_kb/1024 AS ProcessMemoryMB FROM sys.dm_os_process_memory;", db, 1, 1 Dim memMB: memMB = 0 On Error Resume Next memMB = rsMem("ProcessMemoryMB").Value On Error Goto 0 If Not rsMem Is Nothing Then If rsMem.State = 1 Then rsMem.Close: Set rsMem = Nothing If IsNumeric(memMB) Then If CDbl(memMB) < processMinMB Then Exit Sub End If ' 1) 写入数据库日志表(依赖 install_memory_log.sql 中的对象) db.Execute "EXEC dbo.LogHighMemoryGrants @Top=" & topN & ", @RequestedKBMin=" & thresholdKB If Err.Number <> 0 Then ' 静默失败,避免影响页面;可改为写入文本 Err.Clear End If On Error Goto 0 End Sub %>

Microsoft VBScript ʱ '800a000d'

Ͳƥ: 'AutoMemoryLog'

D:\WEB\JUBEN\SEARCH\../inc/footer.asp 69