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

Home » Public Forums » archive » memory allocation for structure arrays
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 for structure arrays [message #11728 is a reply to message #11586] Thu, 30 April 1998 00:00 Go to previous messageGo to previous message
korpela is currently offline  korpela
Messages: 59
Registered: September 1993
Member
In article <Pine.SUN.3.91.980430131547.324A-100000@demsyd.syd.dem.csiro.au>,
Peter Mason <peterm@demsyd.syd.dem.CSIRO.AU> wrote:

> Do you get the error during the READU call? (i.e., Not during the REPLICATE
> call?) If so then there's something very odd going on here.
> Can you read the first few (say 10) records correctly? If so, then I'd say
> that there might be a bug in IDL on Linux.

I seem to recall that IDL uses a lazy-malloc() which allocates memory
without making sure there is enough available swap space. The swap
space is allocated as a portion of memory is paged out for the first
time. Therefore the out of memory error could during the READU call.

Eric
--
Eric Korpela | An object at rest can never be
korpela@ssl.berkeley.edu | stopped.
<a href="http://sag-www.ssl.berkeley.edu/~korpela">Click for home page.</a>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: password-entry widget
Next Topic: Re: idlwave mode for emacs/xemacs?

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

Current Time: Fri Oct 10 00:26:46 PDT 2025

Total time taken to generate the page: 0.49687 seconds