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

Home » Public Forums » archive » Interesting Rant
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: Interesting Rant [message #51382 is a reply to message #51314] Wed, 15 November 2006 12:38 Go to previous messageGo to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Wed, 15 Nov 2006, gknoke wrote:

> I'm still a relative newcomer to IDL, but my biggest gripe has (and
> always will be) inefficient memory allocation... it's a pain when you
> can't hold two large arrays (maybe 1/4 of available memory each) in
> memory even though IDL has 2GB to play with.

IDL is innocent here. The allocation is done by the underlying operating
system. I guess you are on windows :-)

On my linux box, with 1 GByte memory:

IDL> a1=bytarr(1000,1000,500)
IDL> a2=bytarr(1000,1000,500)
IDL> help, /mem
heap memory used: 1000577500, max: 1000577516, gets: 423, frees: 115

You can read about memory allocation on windows here:

http://www.ittvis.com/services/techtip.asp?ttid=3346

regards,
lajos
[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
Previous Topic: Re: Bitmap vectorization
Next Topic: Color background with PLOT

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

Current Time: Tue Oct 21 09:51:52 PDT 2025

Total time taken to generate the page: 0.64412 seconds