Home »
Public Forums »
archive »
Re: Is there memory leakege in PV-Wave 6.1 (Windows NT platform)?
Re: Is there memory leakege in PV-Wave 6.1 (Windows NT platform)? [message #10146] |
Mon, 13 October 1997 00:00 |
mgs
Messages: 144 Registered: March 1995
|
Senior Member |
|
|
In article <61p6nu$6i2$1@news1.tor.acc.ca>, "Alexei Chirokikh"
<ashi@lle.rochester.edu> wrote:
> Hi,
> I observed some problem with memory allocation when I working long enough in
> PV-Wave session. Is somebody noticed this problem before?
Hi Alexei -
Here is an excerpt from the IDL FAQ that may answer your question:
T27. Why is memory not released back to the operating system after an
array is deleted?
By Eric Korpela of Berkeley
This is a result of IDL being written in C and using the C library
functions (malloc and free) for memory allocation. In most C libraries,
memory that is freed is NOT returned to the operating system. The C
program retains this memory and will reuse it for future calls to malloc
(assuming that the new allocation will fit in the freed block).
You can find the FAQ at http://ww2.sd.cybernex.net/~mgs/idl_faq.html
Regards,
--
Mike Schienle Interactive Visuals
mgs@sd.cybernex.net http://ww2.sd.cybernex.net/~mgs/
|
|
|
Current Time: Wed Oct 08 19:53:30 PDT 2025
Total time taken to generate the page: 0.00479 seconds