From: Jan-Pieter J. <jan...@gm...> - 2012-06-07 09:30:49
|
Hi all! I was really delighted to see an extension to a free editor that allows for usage of the Matlab debugger, etc. I installed the whole set of functions using dl_emacs_support. After a bit of fiddling with my .emacs file I have everything running. The problem that I encounter though, is that when using matlab-mode, Emacs' memory will steadily rise, also maxing out CPU load, up until the point I need to kill emacs because it does not respond any longer. I have the feeling that the problem lies with the communication between Emacs and Matlab, because before starting Matlab, everything goes well. I also noticed that upon every communication with Matlab (like when completing symbols etc), I get a new line + prompt sign (>>) in the matlab-shell window. For example, I've got some Matlab code that I'm debugging, and after stepping a few times through the code, emacs hardly responds, CPU load is 100% and memory is (according to top): Virt: 2244M Res: 1909M (or about 2Gb). The process of memory growth seems to go exponentially: Each attempt to access emacs makes the increase go faster and faster. I'm using Emacs 23.3.1 on Kubuntu 12.04 and Matlab R2011b (7.13.0.564). If anyone knows any solutions, or might point me where to look, I'd be really happy. Kind regards, Jan-Pieter |