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

Home » Public Forums » archive » memory allocation problem
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: Memory allocation problem [message #64075 is a reply to message #32923] Thu, 27 November 2008 10:19 Go to previous messageGo to previous message
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
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)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgimage and color tables
Next Topic: Re: Extraction phenological events

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

Current Time: Sat Nov 29 16:29:24 PST 2025

Total time taken to generate the page: 0.80303 seconds