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

Home » Public Forums » archive » Memory allocation problem:
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Memory allocation problem: [message #11016] Fri, 20 February 1998 00:00 Go to previous message
Inigo Garcia is currently offline  Inigo Garcia
Messages: 13
Registered: June 1997
Junior Member
I think this is a bug in IDL, probably someone else has noticed it before:
If I create a huge array, and then delete it, the allocated memory still remains
!!! Look a clear example:

IDL> a=fltarr(10000,50000)
IDL> a=0

The array is not there any more, so the allocated memory should be freed,
shouldn't it ? But it is not. And I don't like the idea of exiting IDL everytime I
decide to use some big temporary arrays, I find it ridiculous. If these 2 lines
are within a routine, the problem is exctly the same.

I am in a Sun UltraSparc, with Solaris and IDL 5.0.2.

Please, any solutions will be appreciated.

I~nigo.
--
\\|//
(o o)
+-----------------------oOOo-(_)-oOOo----------------------- --+
| I~nigo Garcia Ruiz |
| Kapteyn Instituut Phone: +31-(0)50-3634083 |
| Landleven 12 Fax: +31-(0)50-3636100 |
| 9747 AD GRONINGEN (Netherlands) e-mail: iruiz@astro.rug.nl |
+----------------------------------------------------------- --+
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: project_vol() in IDL
Next Topic: New dialog routines

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

Current Time: Sun Oct 12 01:17:29 PDT 2025

Total time taken to generate the page: 0.96405 seconds