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

Home » Public Forums » archive » IDL memory allocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL memory allocation [message #4734] Sat, 15 July 1995 00:00
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
Hi all,
I have two questions about how IDL handles memory:

1. Does IDL4.0 remove the restriction of le 64 arguments for procedures?
I was trying to convert some FORTRAN code to IDL, and some of the
subroutines have more than 64 arguments. It is really inconvenient
to have to pack all or some of the arguments into a structure (for
example) to cut back the number of arguments (and from recent posts,
I see that sructures can't have more than 125 or so tags?).

2. I have a pretty complicated widget code, and yesterday when I tried to
add another widget, I got an access violation on my system (DEC Alpha),
which kicked me out of IDL back to the system prompt. I figured out
the exact line in the code where it crashed: it was in the procedure
that builds the new widget. The line was just something like
x = LONARR(20)
Is it possible that the heap memory corrupted the stack, or what is
going on. The error message is useless (it's a system error, not IDL).
HELP, /MEM showed that I was using about 3MB.

Thanks. Bob
[Message index]
 
Read Message
Previous Topic: using Make_Array in Execute() call
Next Topic: Re: (NOT SO) Dumb problem with STRPOS

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

Current Time: Sat Oct 11 07:48:53 PDT 2025

Total time taken to generate the page: 0.79987 seconds