help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best ways to free memory within c++ DLD's


From: John W. Eaton
Subject: Re: Best ways to free memory within c++ DLD's
Date: Tue, 28 Feb 2006 14:44:38 -0500

On 28-Feb-2006, Jason Hoogland wrote:

| 
| For the archives, the solution I found was not to include the -m64 when 
| compiling Octave.  No performance loss, and no signs of memory leakage for 
| very high numbers of iterations even without explicitely destructing 
| variables in my DLD's.

If you are using objects from liboctave, and assuming that you are not
needlessly creating those objects with the new operator, then there is
almost never any need to explicitly allocate or free memory for those
objects.  The memory in most liboctave objects is automatically
managed for you with reference counts.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]