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

Home » Public Forums » archive » Memory fragmentation, passing and common blocks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Memory fragmentation, passing and common blocks [message #1035] Sat, 22 May 1993 10:35
mayor is currently offline  mayor
Messages: 9
Registered: May 1993
Junior Member
This thread on memory fragmentation has been helpful. I need to go
through my code again and try to use the temporary function where
ever possible and make sure I'm being as efficient as possible.
But still, a couple of questions come to mind:

1) Does IDL have any plans to make something that defragments memory
as it runs? Since there are hard disk defragmenters, how about RAM
defragmenters?

2) I've written quite a large IDL application and have stuck with
the convention of passing variables among all the modules. With the
exception of a few very small common blocks for a few widget event
handlers, I've avoided common blocks. Now after all this development,
I'm realizing that I'm passing huge arrays back and forth and wondering
if it would have been better to put these in common blocks. So this is
a two part question:

a) Can passing variables cause memory fragmentation?

b) What exactly do I have to gain or loose if I start putting variables
in common blocks instead of passing them?

============================================================ ====================
Shane D. Mayor, Lidar Applications Group, NASA Langley Research Center,
Mail Stop 401A, Hampton, Virginia 23681-0001
Internet: MAYOR@VAXINE.LARC.NASA.GOV Phone: 804-864-7598 Fax: 804-864-7790
============================================================ ====================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: TEMPORARY (was Re: Fragmented memory with IDL)
Next Topic: IDL code for TeX to IDL strings

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

Current Time: Wed Oct 08 17:25:48 PDT 2025

Total time taken to generate the page: 0.00506 seconds