[Thread Prev][Thread Next][Index]

[ferret_users] Problem with symbol FERRET_MEMORY



Hello,

When I run the command :

REPEAT/NAME=nn/RANGE=0:4 ( LET mem = `2000+100*nn` ; SET MEMORY/SIZE=`mem` ;  SAY `mem`: ($FERRET_MEMORY) )

I get :

yes? REPEAT/NAME=nn/RANGE=0:4 ( LET mem = `2000+100*nn` ; SET MEMORY/SIZE=`mem` ;  SAY `mem`: ($FERRET_MEMORY) )
 Cached data cleared from memory
2000: 2000
 Cached data cleared from memory
2100: 2100
 Cached data cleared from memory
2200: -2095
 Cached data cleared from memory
2300: -1995
 Cached data cleared from memory
2400: -1895


The symbol FERRET_MEMORY is false when memory is bigger than 2Gb (2048 Mb)

Annoying, as in a GO script I want to test the memory to avoid to reset it (and clean the cache) when it is big enough :

IF `($FERRET_MEMORY) LT 4000` THEN SET MEMORY/SIZE=4000




[Thread Prev][Thread Next][Index]