From bug-octave-request at che dot utexas dot edu Thu Nov 25 00:29:56 1993 Subject: Memory leak in octave From: fui at ee dot nus dot sg (Fong Kin Fui. Ext 2145) To: bug-octave at che dot utexas dot edu Date: Thu, 25 Nov 93 14:30:04 EET Hi, I like to report that there is a possible memory leak in octave. I'm currently using octave 0.79 but the problem was there since 0.76. I'm currently running it on aix 3.2.5. The compilers used were gcc 2.4.5 and xlf fortran compiler. The bug may not be platform dependent, since I'm running 0.76 in a linux machine at home and the same problem occurs. I've included a octave (matlab) program that will give the memory leak. Regards Fui PS. I've been running octave for quite a while and like it. The main advantage is portability across platforms. We only have matlab for DOS in the lab. One problem though, can't seem to compile for SunOS 4.1.3. More later. ------------------------------------------------------------------------ function test while (1) a=rand(100,100); b=rand(100,100); c=[a;b]; a=[]; b=[]; end