顯示具有 BDE 標籤的文章。 顯示所有文章
顯示具有 BDE 標籤的文章。 顯示所有文章

2009年3月19日 星期四

BDE錯誤訊息-Insufficient memory for this operation" ($2501)

以下為BDE錯誤訊息(Insufficient memory for this operation" ($2501))之解決步驟:設定值必須要關掉EEP-AP,重開AP 的服務才會有效。
Insufficient memory for this operation" ($2501)
Problem: Your application (or another BDE application) has exhausted the memory available to the BDE.
Solution:
1) Close all BDE applications.
2) Find the program BDEADMIN.EXE. This is usually in a directory somewhere under "\Program Files\Borland...".
3) Run BDEADMIN.EXE and click on the Configuration tab.
4) There should be an item in the treeview on the left side called "Configuration". If it's not expanded, expand it.
5) Next, expand the System entry below it. Under System, select INIT.
6) In the right-side window, find the entry called "SHAREDMEMSIZE". Change this value to 4096.
7) Next, click on the word "Object" in the main window's menu bar, and select Apply.
8) Answer "OK" to the confirmation to "Save all edits...".

You can now try to start your application again. If you still have trouble running the application and you are running Windows NT or Windows 2000, follow the same instructions above, but this time leave the SHAREDMEMSIZE property at 4096, and change the SHAREDMEMLOCATION property to "0x5BDE". Then apply the changes as before, and retry your application. If you still receive the same error, try changing SHAREDMEMSIZE to 8192. If the error continues to persist, you can also try "0x6BDE" for SHAREDMEMLOCATION. If the error still continues to persist, you can also try other values for SHAREDMEMLOCATION. (See solution for error $210D below.)

BDE錯誤訊息-Shared memory conflict ($210D)

以下為BDE錯誤訊息(Shared memory conflict ($210D) )之解決步驟:"Shared memory conflict ($210D)
Problem: The BDE is trying to use a location in memory that is already in use by the operating system or another application.
Solution:
1) Close all BDE applications.
2) Find the program BDEADMIN.EXE. This is usually in a directory somewhere under "\Program Files\Borland...".
3) Run BDEADMIN.EXE and click on the Configuration tab.
4) There should be an item in the treeview on the left side called "Configuration". If it's not expanded, expand it.
5) Next, expand the System entry below it. Under System, select INIT.
6) In the right-side window, find the entry called "SHAREDMEMLOCATION". Change this value to 5BDE.
7) Next, click on the word "Object" in the main window's menu bar, and select Apply.
8) Answer "OK" to the confirmation to "Save all edits...".

Other values that may also help solve this issue on NT or Windows 2000 are: 1000, 7000, and 7F00. If none of these values resolve the issue, you may try 2000, 3000, 4000, etc. or any values in between the specified ranges below for each operating system:
Windows 95/98: SHAREDMEMLOCATION = 9000 to FFFF
Windows NT/2000: SHAREDMEMLOCATION = 1000 to 7F00
It has also been reported by some users that removing or disabling the driver for a sound card on Windows NT can resolve the issue as well, but normally just "relocating" the BDE's memory pool using the SHAREDMEMLOCATION setting will suffice.

2008年10月27日 星期一

EEP AP的BDE設定

以下為EEP之AP設定BDE時之最佳狀態建議設定:
<基本設定>
設定項目 說明
BLOB SIZE EEP更新機制是利用Blob欄位來存放Bpl檔案,預設建議值為10240K(2010/05/18測試 發現 此參數不可調,調太大會當,用預設32即可)。
SQLPASSTHRU MODE 預設值:SHARED AUTOCOMMIT。
SQLQRYMODE 預設值:空白。

<人數設定>
項目 預設值 10人 20人 40人
MaxBufSize 2048 4096 8192 16384
MemSize 16 32 64 128
ShardMemSize 2048 4096 8192 16384

CPU處理速度超過 2G->影響SocketServer
CPU 為 3G ,建議您先更換新版的EEP SocketServer
RAM < 1G
MEMSIZE=128
MaxBuffer=2048
SharedMemsize=16384

<電腦設定>
建議每天找一個時機點將ApServer電腦重新開機,
主要有兩個目的:
1.重整BDE所佔用的記憶體
2.清除EEPScktSrvr所keep住的Client異常連線.

更新新版的SrvSkeleton.bpl
<確認>
5. ApSever 維持較佳及高穩定狀態-請參考
MEMSIZE 192
MAXBUFSIZE 2048
SHAREDMEMSIZE 32768
MAX DBPROCESSES 127