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

Home » Public Forums » archive » question: programm code area full
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: question: programm code area full [message #9855 is a reply to message #9850] Tue, 02 September 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Christoph Arndt writes:

> I am currently working with IDL 3.6 and Windows95 with my Pentium.
> Using the same files under IDL 5.0, WindowsNT on a DEC alpha-Workstation
> leads to the error:'programm code area full', even though I reduced the
> size of the fields.
> Does anybody have an idea how to solve this problem, or what the reason
> for this error is??

Typically, this error results from poor programming practices.
For example, the user has one huge main program, or their large
application is in a single program module rather than in many
smaller, self-contained modules. Sometimes it comes from trying
to create a variable inside a program module that has crashed.
(Are you certain that *all* of your program modules compiled
when you moved your code to the Alpha? Are you certain that
you know about run-time errors? For example, you don't have
!Quiet set to 1,or a silent CATCH do you? I've seen all of
these things give this error.)

In versions of IDL prior to IDL 5, the code area could be increased
with the .SIZE executive command. This command was suppose to be
obsolete with IDL 5, because the allocation of more code area
memory to accommodate larger (and often bad) programs was
to be allocated dynamically, when the memory was needed.

I've heard rumors of other strange things happening on the
Windows NT version of DEC Alphas, so I wonder if this dynamic
allocation process is working the way it is suppose to work.

I guess if it were me, I would check to make sure I was writing
my programs in as modular a fashion as possible and that everything
compiles on the Alpha. If I still couldn't get it to work, I'd
contact RSI or Creaso and see if they know more about what
the problem could be.

Cheers,

David

------------------------------------------------------------ -------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Interpolate problems
Next Topic: Size of variables in bytes?

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

Current Time: Mon Oct 27 03:26:05 PDT 2025

Total time taken to generate the page: 0.02851 seconds