Memory leak in symbolic toolbox?
1 次查看(过去 30 天)
显示 更早的评论
If I try this simple code:
W = 1/100*ones(100); W = sym(W); x = rand(100,1);
for i=1:10000 x = double(W*x); end
which basically does nothing, the memory usage constantly grows, although there is no reason for it. Value x is constant double precision. I don't see this behaviour when the matrix W is not symbolic. It seems like a memory leak in the symbolic toolbox to me. I tried it with Matlab 7.9.0(R2009b) and also latest Matlab 2011b.
Another question is that I noticed that doing a matrix multiplication with symbolic matrix is not a multithreaded operation (in comparison to normal matrix multiplication). Is there some reason for that?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!