Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ScaleMM2
#1
Hi,

I have read the article "Capacity of IntraWeb Applications and Memory Managers". It was very interesting.
So I decided to use ScaleMM2 instead of FastMM4.
But when I compiled my applicaction I got a compile error in unit smmFunctions in function BitScanLast(aValue: NativeInt): NativeUInt;
{$IFDEF CPU386}
  BSR AX, aValue;      
{$ELSE} .NOFRAME
  BSR RAX, aValue;
{$ENDIF}


[dcc32 Error] smmFunctions.pas(337): E2107 Operand size mismatch                    on statement BSR AX, aValue;
Reply
#2
It's a bug in this download, it's supposed to be EAX there instead of AX - just edit it and it will build.

Alexandre, maybe you should download it from your site, already fixed?
Reply
#3
(02-15-2024, 02:47 AM)iwuser Wrote: It's a bug in this download, it's supposed to be EAX there instead of AX - just edit it and it will build.

Alexandre, maybe you should download it from your site, already fixed?

Thanks
Reply
#4
Yes, this has been fixed. I'll check our version and make sure that it is OK.

Make sure that you monitor the memory consumption of the application. ScaleMM2 is kind of memory hungry...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)