• 原创作品
  • 出售信息
网络电影剧本 · 喜剧
2022/8/20

喜欢看电影的老周独自一人住在酒店的双人房间中写遗书,被服务员请求安排陌生人同住。这一夜,老周先后与三个陌生人同住在房间中,却让喜欢看电影的他先后亲身经历了警匪片、喜剧片、爱情片,没想到,这个夜晚,还有最后一场电影:亲情片。所有故事都发生在同……

编剧:周墨耘 阅读:4143
网络电影剧本 · 悬疑, 犯罪
2021/4/1

催眠术师李凯,他利用自己特长骗取银行百万现金携款私逃,警方全力追捕,但他的特殊技能每次都使自己脱逃,经过一路追捕后终于将李凯抓获,但他并非主谋,李凯悔过说出真相,原来这起案件牵扯出一件陈年恩怨,早年他利用催眠术奸污了主谋女友,又陷害他入狱,……

编剧:照野63 阅读:3474

刚被过的

· 阴间打工人(喜剧, 奇幻)
· 给你给我(都市)
· 玫瑰记忆(爱情, 犯罪, 奇幻)
· 天杀(主旋律)
· 弟弟娶了哥哥的媳妇(喜剧, 农村)
· 失控的婚礼(喜剧, 爱情, 都市)
· 四目相对(爱情, 都市)
· 有生之年(爱情, 校园, 家庭)
· 绿能战士(奇幻, 动漫)
· 剧本写作的基本步骤(创作交流)
编剧培训班:电影编剧实战班
分享页面
返回顶部
' ' 支持通过 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