<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242655</link>
    <title>MATLAB Central Newsreader - out of memory when using a breakpoint</title>
    <description>Feed for thread: out of memory when using a breakpoint</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 19 Jan 2009 08:10:31 -0500</pubDate>
      <title>out of memory when using a breakpoint</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242655#622455</link>
      <author>exabwu</author>
      <description>Hello,&lt;br&gt;
&lt;br&gt;
while running the code the normal way usually makes no problem I get&lt;br&gt;
an&lt;br&gt;
&lt;br&gt;
??? Error using ==&amp;gt; zeros&lt;br&gt;
Out of memory. Type HELP MEMORY for your options.&lt;br&gt;
&lt;br&gt;
when I set a breakpoint within an function.&lt;br&gt;
&lt;br&gt;
Rebooting the computer or restarting MATLAB doesn't help.&lt;br&gt;
&lt;br&gt;
Many thanks, Ingo</description>
    </item>
    <item>
      <pubDate>Mon, 19 Jan 2009 14:40:17 -0500</pubDate>
      <title>Re: out of memory when using a breakpoint</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242655#622513</link>
      <author>Sadik </author>
      <description>exabwu &amp;lt;exabwu@googlemail.com&amp;gt; wrote in message &amp;lt;3951b89a-71a5-4e62-bf6d-d21b13b763c8@r37g2000prr.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; while running the code the normal way usually makes no problem I get&lt;br&gt;
&amp;gt; an&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; zeros&lt;br&gt;
&amp;gt; Out of memory. Type HELP MEMORY for your options.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; when I set a breakpoint within an function.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Rebooting the computer or restarting MATLAB doesn't help.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Many thanks, Ingo&lt;br&gt;
&lt;br&gt;
Hello,&lt;br&gt;
&lt;br&gt;
I believe you have written something like this:&lt;br&gt;
&lt;br&gt;
zeros(10000) &lt;br&gt;
&lt;br&gt;
when you wanted to make up a column or row vector. The way to fix this is to say&lt;br&gt;
&lt;br&gt;
zeros(10000,1);&lt;br&gt;
&lt;br&gt;
Hope this helps.</description>
    </item>
    <item>
      <pubDate>Wed, 28 Jan 2009 09:36:37 -0500</pubDate>
      <title>Re: out of memory when using a breakpoint</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242655#624469</link>
      <author>exabwu</author>
      <description>On 19 Jan., 15:40, &quot;Sadik &quot; &amp;lt;sadik.h...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; exabwu&amp;lt;exa...@googlemail.com&amp;gt; wrote in message &amp;lt;3951b89a-71a5-4e62-bf6d-d21b13b76...@r37g2000prr.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; while running the code the normal way usually makes no problem I get&lt;br&gt;
&amp;gt; &amp;gt; an&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; ??? Error using ==&amp;gt; zeros&lt;br&gt;
&amp;gt; &amp;gt; Out of memory. Type HELP MEMORY for your options.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; when I set a breakpoint within an function.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Rebooting the computer or restarting MATLAB doesn't help.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Many thanks, Ingo&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I believe you have written something like this:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; zeros(10000)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; when you wanted to make up a column or row vector. The way to fix this is to say&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; zeros(10000,1);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hope this helps.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks for you reply!&lt;br&gt;
&lt;br&gt;
Actually we used   MSaturation = zeros(1,2);&lt;br&gt;
&lt;br&gt;
It only happens once in a while ?!</description>
    </item>
    <item>
      <pubDate>Wed, 28 Jan 2009 16:02:46 -0500</pubDate>
      <title>Re: out of memory when using a breakpoint</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242655#624537</link>
      <author>Walter Roberson</author>
      <description>exabwu wrote:&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; while running the code the normal way usually makes no problem I get&lt;br&gt;
&amp;gt; an&lt;br&gt;
&lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; zeros&lt;br&gt;
&amp;gt; Out of memory. Type HELP MEMORY for your options.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; when I set a breakpoint within an function.&lt;br&gt;
&lt;br&gt;
I -speculate- that you might have a variable that is not used, or perhaps even&lt;br&gt;
a computation sequence which produces a result that is not used. -Possibly-&lt;br&gt;
when you run normally, the Just In Time (JIT) compiler does not bother creating&lt;br&gt;
the variable. When you set a breakpoint, though, because you might want to&lt;br&gt;
examine any of the variables, the JIT cannot omit that variable -- and having&lt;br&gt;
that variable might happen to cause you to run out of memory.&lt;br&gt;
&lt;br&gt;
There are additional possibilities if you are running a function by putting&lt;br&gt;
your cursor in the function in the editor and pressing F5: if you are&lt;br&gt;
doing that, then there are situations where you could run into that kind&lt;br&gt;
of problem if you have a name conflict between one of your variables and&lt;br&gt;
one of the matlab routines: in such a case, when you ran &quot;normally&quot;, the&lt;br&gt;
JIT will (in some situations) call the Matlab routine instead of using&lt;br&gt;
the variable of the same name {if the variable was &quot;poofed into existance&quot;&lt;br&gt;
by load() or assignin() or eval() or similar mechanism, instead of being&lt;br&gt;
the target of a visible assignment statement.}&lt;br&gt;
-- &lt;br&gt;
.signature note: I am now avoiding replying to unclear or ambiguous postings.&lt;br&gt;
Please review questions before posting them. Be specific. Use examples of what you mean,&lt;br&gt;
of what you don't mean. Specify boundary conditions, and data classes and value&lt;br&gt;
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?</description>
    </item>
  </channel>
</rss>

