線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1925
推到 Plurk!
推到 Facebook!

有關4GT RAM Tuning在BCB中的Linker如何設定

尚未結案
ronfong
一般會員


發表:3
回覆:0
積分:0
註冊:2003-11-16

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-08-25 18:04:21 IP:220.229.xxx.xxx 未訂閱
有一個BCB設定的問題要請教諸位大大 我有個程式在執行階段會使用超過2GB的限制,我到以下網站看了 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/4gt_ram_tuning.asp 以下擷取主要的文字 To enable an application to use the larger address space, set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the image header. The linker included with Microsoft Visual C supports the /LARGEADDRESSAWARE switch to set this flag. Setting this flag, and then running the application on a system that does not have 4GT support should not affect the application. On 64-bit editions of Windows, 32-bit applications marked with the IMAGE_FILE_LARGE_ADDRESS_AWARE flag have 4-GB of address space available. Itanium editions of Windows Server 2003: Prior to SP1, 32-bit processes only have 2-GB of address space available. Itanium editions of Windows 2000: 32-bit processes only have 2-GB of address space available. 我在BCB的Options中的Leaker看到PE File Options中有Min/Max stack siz、Min/Max heap size及Image base等設定,請問我是該將那個一值設定為 #define IMAGE_FILE_LARGE_ADDRESS_AWARE 0x0020 // App can handle >2gb addresses 中的0x0020呢? 是否在此設定就能達成使用記憶體空間至3GB的結果呢? 期待各位大大的回覆^^
系統時間:2024-05-11 18:33:51
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!