![]() | Products |
| Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Reported for Version 4.34 » View Incident Report |
| Reported By: Johan Dorrestijn Reported On: 12/7/2012 For: Version 4.34 Build 6 |
changes apply to sourcefile dbisamsv.pas:
function TDataServer.GetMemoryUsage: double;
var
AMemoryManagerState: TMemoryManagerState;
SBTState: TSmallBlockTypeState;
begin
Result:=0;
GetMemoryManagerState(AMemoryManagerState);
with AMemoryManagerState do
begin
for SBTState in SmallBlockTypeStates do
Result:=Result+SBTState.AllocatedBlockCount*SBTState.UseableBlockSize;
Result:=Result+TotalAllocatedMediumBlockSize;
Result:=Result+TotalAllocatedLargeBlockSize;
end;
Result:=Result/1024; //Result in kB
end;
the simple test SQL I use is:
select MyField
into memory\temptable
from MyTable;
drop table memory\temptable;This web page was last updated on Wednesday, October 22, 2025 at 04:21 PM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

