ScaleMM2

<< Click to Display Table of Contents >>

Navigation:  Forum >

ScaleMM2

Forum link

 

 

 


 

02-13-2024, 01:01 PM:

 

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;

 

 

 


 

02-15-2024, 02:47 AM:

 

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?

 

 

 


 

02-15-2024, 08:08 AM:

 

(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

 

 

 


 

02-19-2024, 02:27 AM:

 

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...