Re: Memory allocation problem [message #64064 is a reply to message #32923] |
Fri, 28 November 2008 08:04   |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
There seems to be a problem with that on my machine.
memtest reports that it can allocate *any* memory size
I want (at least up to 2 TB).
Since that is larger than my hard drive, not even
reckless virtual memory usage could go that far...
IDL> help,!version,/st
** Structure !VERSION, 8 tags, length=104, data length=100:
ARCH STRING 'x86_64'
OS STRING 'darwin'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'Mac OS X'
RELEASE STRING '7.0.4'
BUILD_DATE STRING 'Sep 3 2008'
MEMORY_BITS INT 64
FILE_OFFSET_BITS
INT 64
Ciao,
Paolo
b_...@hotmail.com wrote:
> On Nov 27, 2:37�am, Wox <s...@nomail.com> wrote:
>> Last line: ulong -> ulong64 otherwise it will never go above 4095MB.
>
>
> Yes, with this modification:
>
> print, format='(%"Memory block #%2d: %4d Mb (total: %6d Mb)")', $
> i + 1, ishft(currentBlockSize, -20), ishft(ulong64(total
> (memBlockSizes)), -20)
>
> % Compiled module: MEMTEST.
> Memory block # 1: 2047 Mb (total: 2047 Mb)
> Memory block # 2: 2047 Mb (total: 4094 Mb)
> Memory block # 3: 2047 Mb (total: 6141 Mb)
> Memory block # 4: 2047 Mb (total: 8188 Mb)
> Memory block # 5: 2047 Mb (total: 10235 Mb)
> Memory block # 6: 572 Mb (total: 10807 Mb)
|
|
|