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

Home » Public Forums » archive » Re: "Program Code area full" error message
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: "Program Code area full" error message [message #31257 is a reply to message #31252] Wed, 26 June 2002 08:00 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Asti Bhatt (astib@cc.usu.edu) writes:

> Can anybody tell me, when "Program Code area full" error message
> comes, and what one can do to cure it ? I am NOT using "EXECUTE"
> function in my code. Also I cannot use .SIZE as it has become obsolete
> in IDL 5 onwards. Doesn't this mean that one should never get "Program
> Code area full" or "Program data area full" error messages ?

There is an area of IDL memory set aside to compile IDL
programs. This is the "program code area" (I think). In
any case, you usually see this error message when you are
working with really poorly written code (usually a colleague's). :-)

Actually, you usually see it when you are working with huge
IDL main-level programs, rather than the more normal procedures
and functions. The work-around, of course, is to write procedures
and functions like you are suppose to and get away from
huge journal-type scripts.

I'm not surprised things work better when you compile
the mail-level program and then run it with .GO. The
compiler probably can re-size the program code area
dynamically.

And, by the way, that "RUN" button on the IDLDE probably
confuses more people than helps. I truly don't know
what it can be used for, other than to run IDL procedures
that don't require any arguments. I usually point people
away from it.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mapping questions
Next Topic: subtle changes in PS output with contour

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

Current Time: Wed Oct 08 18:58:57 PDT 2025

Total time taken to generate the page: 0.00430 seconds