[Top][All Lists]

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

[Octave-bug-tracker] [bug #56637] Access of a nested structure -> memory

From: Rik
Subject: [Octave-bug-tracker] [bug #56637] Access of a nested structure -> memory leak in mex function
Date: Tue, 16 Jul 2019 16:38:33 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #4, bug #56637 (project octave):

@Evangelos: Could you post some m-file code that can be used with the
example.c that Mike posted?

I tried this

movefile ('example.c', 'nestleak.c')
mex nestleak.c

and then

s.InsDmd.id = rand (1e6,1);

for i = 1:1e7
  nestleak (s);

I looked at memory usage for the process with

ps auxww | grep octave | grep 5.1.0

but I didn't see anything.  The first run or two the memory consumption goes
up because the mex interface seems to be loaded.  But then it became stable.


Reply to this item at:


  Message sent via Savannah

reply via email to

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