最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

求生之路2 heapsize啟動(dòng)項(xiàng)設(shè)置

2023-08-13 22:52 作者:回憶所在之處  | 我要投稿

靈感來源于https://www.bilibili.com/read/cv22642688。

這里是V社給出的heapsize的注釋:Specifies the heapsize (in kilobyte) the game will use. This no longer exists on later version of? Source 2009 and? Source Multiplayer.?大概意思是指定游戲使用的堆大?。▎挝籯b)

developer.valvesoftware.com/wiki/Command_line_options


剛剛測試了下,在游戲里用mem_dump看內(nèi)存分配情況。

heapsize524288(1024 * 512) -?2097151(1024 * 1024 * 2 - 1)之間指令都能正常工作,

超過524288后除WaveData(似乎是音頻文件?)外其余幾項(xiàng)(模型文件等)都達(dá)到最大值,

2097151下WaveData達(dá)到最大值(512.00 MB)。

heapsize達(dá)到2097152時(shí)游戲似乎無法正確調(diào)用內(nèi)存,開戰(zhàn)役也會(huì)直接閃退。

按照cv22642688里的方法設(shè)置(6000000,9000000,18000000等都試過),這幾個(gè)超過2097151的值都被截?cái)嗔耍透偷闹禌]有區(qū)別。

這樣看來2097151是配置允許的情況下,能設(shè)置的極限了。

不知道524288和2097151在實(shí)際游戲中有什么區(qū)別 XD

總結(jié)

設(shè)置為524288即可

heapsize上限為2097151,實(shí)際上設(shè)置524288分配給模型文件等的內(nèi)存已經(jīng)達(dá)到最大值,再往上加也只有增加音頻文件的緩存。當(dāng)然配置允許可以直接拉滿。


以下是各個(gè)參數(shù)的情況

524288:

] mem_dump

Writing memory stats to file memstats.txt

Operating system reports Available: 4064.00 MB, Used: -32.00 MB, Free: 4096.00 MB

Internal heap reports:? 0.08 MB (81364 bytes)


Hunk Memory Used :

Total used memory:? ? ? 16

Total committed memory: 33554432


Datacache reports:

Section [ModelData]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [ModelMesh]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [AnimBlock]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [ColorMesh]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [Captions]: 0 resources total 0 bytes, 0.00 % of limit (64 KB)

Section [WaveData]: 1 resources total 1.40 MB, 1.09 % of limit (128 MB)

Summary: 1 resources total 1.40 MB, 0.27 % of capacity


2097151:

] mem_dump

Writing memory stats to file memstats.txt

Operating system reports Available: 4064.00 MB, Used: -32.00 MB, Free: 4096.00 MB

Internal heap reports:? 0.08 MB (82431 bytes)


Hunk Memory Used :

Total used memory:? ? ? 16

Total committed memory: 33554432


Datacache reports:

Section [ModelData]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [ModelMesh]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [AnimBlock]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [ColorMesh]: 0 resources total 0 bytes, 0.00 % of limit (512 MB)

Section [Captions]: 0 resources total 0 bytes, 0.00 % of limit (64 KB)

Section [WaveData]: 1 resources total 1.48 MB, 0.29 % of limit (512.00 MB)

Summary: 1 resources total 1.48 MB, 0.29 % of capacity


2097152:

] mem_dump

Writing memory stats to file memstats.txt

Operating system reports Available: 4064.00 MB, Used: -32.00 MB, Free: 4096.00 MB

Internal heap reports:? 0.08 MB (81367 bytes)


Hunk Memory Used :

Total used memory:? ? ? 16

Total committed memory: 33554432


Datacache reports:

Section [ModelData]: 0 resources total 0 bytes, 0.00 % of limit (1,024 KB)

Section [ModelMesh]: 0 resources total 0 bytes, 0.00 % of limit (1,024 KB)

Section [AnimBlock]: 0 resources total 0 bytes, 0.00 % of limit (1,024 KB)

Section [ColorMesh]: 0 resources total 0 bytes, 0.00 % of limit (1,024 KB)

Section [Captions]: 0 resources total 0 bytes, 0.00 % of limit (64 KB)

Section [WaveData]: 1 resources total 1.53 MB, 0.30 % of limit (512 MB)

Summary: 1 resources total 1.53 MB, 153.28 % of capacity


求生之路2 heapsize啟動(dòng)項(xiàng)設(shè)置的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
平邑县| 玉龙| 平谷区| 银川市| 聂荣县| 炎陵县| 洛浦县| 顺昌县| 久治县| 伊金霍洛旗| 苍山县| 肥城市| 犍为县| 汨罗市| 浑源县| 夏河县| 弥渡县| 镇原县| 平凉市| 手机| 当雄县| 长沙县| 宜黄县| 大连市| 丹寨县| 恩平市| 大关县| 中阳县| 中西区| 南昌县| 龙游县| 崇阳县| 志丹县| 诸城市| 宁陵县| 昆山市| 全椒县| 嘉荫县| 灵台县| 夏邑县| 诸城市|