comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » allocating memory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: allocating memory [message #56420 is a reply to message #56365] Sat, 20 October 2007 06:58 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Sat, 20 Oct 2007, Andrew Cool wrote:

> Hmm, Here's what I get on my 4GB of RAM Quad core system running 64
> bit IDL (v6.4) under 64 bit Vista :-
>
> IDL> memtest
> current block size = 2146435072
> Memory block # 1: 2047 Mb (total: 2047 Mb)
> Memory block # 2: 2047 Mb (total: 4094 Mb)
> Memory block # 3: 2047 Mb (total: 2045 Mb)
> Memory block # 4: 2045 Mb (total: 4090 Mb)
> Memory block # 5: 2043 Mb (total: 2037 Mb)
> Memory block # 6: 2041 Mb (total: 4078 Mb)
> Memory block # 7: 1803 Mb (total: 1785 Mb)
>
> Can't say I know how to interpret that at all !!
>
> Andrew C.
>

The same config with Linux (4G phys + 2G swap):

IDL> memtest
current block size = 2146435072
Memory block # 1: 2047 Mb (total: 2047 Mb)
Memory block # 2: 2047 Mb (total: 4094 Mb)
Memory block # 3: 532 Mb (total: 530 Mb)
Memory block # 4: 63 Mb (total: 593 Mb)

and after changing ULONG to ULONG64 in memtest :-)

IDL> memtest
current block size = 2146435072
Memory block # 1: 2047 Mb (total: 2047 Mb)
Memory block # 2: 2047 Mb (total: 4094 Mb)
Memory block # 3: 547 Mb (total: 4641 Mb)
Memory block # 4: 63 Mb (total: 4704 Mb)


regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ronn Kling's DLM
Next Topic: 64-bit IDL and multi-threading

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:04:05 PDT 2025

Total time taken to generate the page: 0.47990 seconds