The DecisionCube capacity is low. Please deactivate dimensions or change the data set 出现上述问题,请教高手 ,如何解决。原来在delphi 7.0
解决方案 »
- 再次请教关于fastrepot的问题
- 从网站获取的图片缺无法显示?代码如下!
- 能说说ODBC连接SQLserver的全过程步骤吗?
- 快过年了,在山西工作的程序员或山西人在外地的程序员你们好吗?进来报个到,留下联系方式!
- 简单的类型转换如何使用。
- 用delphi实时监控sql server数据库纪录的变化
- 我找不到ComponentDesigner.dcu 或ComponentDesigner.pas哪位能找到的给我发一个,好不?
- 大家好,好久没来这里变样了,WIN2000下如何共享文件谁能帮帮我。
- 在MTS环境中制作的组件不能用
- 求助我写爬虫被发现导致浏览器也上不了怎么破
- 有个复杂的查询,帮忙看下
- StringGrid中一个Cell的字符串,能设成多个颜色吗?
when the sum of the physical memory and the available page file memory exceeds 2 GBytes, then the DecisionCube raises the following exception: 当总和的物理内存和页面文件可存储超过2 GBytes ,然后DecisionCube提出了以下异常:
The DecisionCube capacity is low. 该DecisionCube能力低。 Please deactivate dimensions or change the data set. 请停用层面或更改数据集。
unit DecisionCubeBugWorkaround;interfaceuses Windows, Mxarrays;implementationfunction GetAvailableMem: Integer;
const
//MaxInt: Int64 = High(Integer); if Upper than 3 Delphi Version
MaxInt = High(Integer);
var
MemoryStatus: TMemoryStatus;
//AvailableMem: Int64; if Upper than 3 Delphi Version
AvailableMem: LongInt;
begin
MemoryStatus.dwLength :=SizeOf(MemoryStatus);
GlobalMemoryStatus(MemoryStatus);
AvailableMem:= MemoryStatus.dwAvailPhys;
if AvailableMem >= 0 then
AvailableMem:= AvailableMem + MemoryStatus.dwAvailPageFile; if AvailableMem < 0 then
Result := MaxInt
else
Result := AvailableMem;
end;initialization
Mxarrays.SetMemoryCapacity(GetAvailableMem);
end.