<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDSINFO "
   title="NEEDSINFO - memory leak with python script"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1203#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEEDSINFO "
   title="NEEDSINFO - memory leak with python script"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1203">bug 1203</a>
              from <span class="vcard"><a class="email" href="mailto:wsr@nih.gov" title="Wayne Rasband <wsr@nih.gov>"> <span class="fn">Wayne Rasband</span></a>
</span></b>
        <pre>I can reproduce the problem using a 1GB 16-bit image (23170x23170) and the
following minimal Python script. Jython appears to be holding a reference to
'ip' after the script ends. Adding "ip=None" to the script does not help. One
workaround is to use JavaScript.

IJ.doCommand("Monitor Memory...")
img=IJ.openImage("")
ip=img.getProcessor()
img.close()</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>