|
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); endfor 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: <https://savannah.gnu.org/bugs/?56637> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |