<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: clear memory after close data table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9165#M9087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Eric ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using JMP 11.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run further debug today.... &lt;/P&gt;&lt;P&gt;Open using invisible option, then close the data table using close ( dt, no save), it solve and unload the datatable from memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here is the part that need some help. &lt;/P&gt;&lt;P&gt;i have created a new window to show some study and then save the new windows study (the entire new window)&amp;nbsp; as JPG. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SR = New Window("Summary Results",&lt;/P&gt;&lt;P&gt;&amp;nbsp; OutlineBox(ListOfFiles&lt;K&gt;,&lt;/K&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; HListBox &lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Vlistbox (&lt;/P&gt;&lt;P&gt;&amp;nbsp; Outline box ( "XY Plot",.... and continue.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SR &amp;lt;&amp;lt; Save Picture(Mypicpath || ListOfFiles&lt;K&gt; || ".jpg" , JPG);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/K&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after i save it as JPG, the memory increase and stay there... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to remove JPG file memory from system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2014 02:49:06 GMT</pubDate>
    <dc:creator>wongpl</dc:creator>
    <dc:date>2014-08-14T02:49:06Z</dc:date>
    <item>
      <title>clear memory after close data table</title>
      <link>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9162#M9084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running a scrip to loop&amp;nbsp; thru 2000 files, every time a file is loaded, the physical memory is increased. Upon ~300 file is being load, the 8G physical memory of my laptop is fully occupied.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any command to unload the data table from memory after we close datatable? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 09:13:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9162#M9084</guid>
      <dc:creator>wongpl</dc:creator>
      <dc:date>2014-08-07T09:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: clear memory after close data table</title>
      <link>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9163#M9085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, WongPL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a couple suggestions for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I assume these 2000 files are JMP data tables, correct?&amp;nbsp; Are you familiar with the &lt;STRONG&gt;Private&lt;/STRONG&gt; option to the &lt;STRONG&gt;Open()&lt;/STRONG&gt; JSL function?&amp;nbsp; If nobody needs to see these 2000 files, you can open them like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = Open( "$SAMPLE_DATA\Big Class.jmp", Private );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use the "dt" reference.&amp;nbsp; Opening a data table with &lt;STRONG&gt;Private&lt;/STRONG&gt; prevents it from creating its window, which consumes a lot of resources.&amp;nbsp; There is also an &lt;STRONG&gt;Invisible&lt;/STRONG&gt; option to &lt;STRONG&gt;Open()&lt;/STRONG&gt;, but &lt;STRONG&gt;Invisible&lt;/STRONG&gt; causes the window to get created but not shown, so it is not as frugal as &lt;STRONG&gt;Private&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If (1) is not an option or doesn't seem to help you, try adding &lt;STRONG&gt;Wait(0);&lt;/STRONG&gt; to your script every 10 or 20 iterations and see if that allows memory to have a chance to get freed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if either of those options solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:43:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9163#M9085</guid>
      <dc:creator>Eric_Hill</dc:creator>
      <dc:date>2014-08-12T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: clear memory after close data table</title>
      <link>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9164#M9086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing - it would also help to know what version of JMP you are running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:45:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9164#M9086</guid>
      <dc:creator>Eric_Hill</dc:creator>
      <dc:date>2014-08-12T13:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: clear memory after close data table</title>
      <link>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9165#M9087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Eric ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using JMP 11.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run further debug today.... &lt;/P&gt;&lt;P&gt;Open using invisible option, then close the data table using close ( dt, no save), it solve and unload the datatable from memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here is the part that need some help. &lt;/P&gt;&lt;P&gt;i have created a new window to show some study and then save the new windows study (the entire new window)&amp;nbsp; as JPG. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SR = New Window("Summary Results",&lt;/P&gt;&lt;P&gt;&amp;nbsp; OutlineBox(ListOfFiles&lt;K&gt;,&lt;/K&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; HListBox &lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Vlistbox (&lt;/P&gt;&lt;P&gt;&amp;nbsp; Outline box ( "XY Plot",.... and continue.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SR &amp;lt;&amp;lt; Save Picture(Mypicpath || ListOfFiles&lt;K&gt; || ".jpg" , JPG);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/K&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after i save it as JPG, the memory increase and stay there... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to remove JPG file memory from system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 02:49:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9165#M9087</guid>
      <dc:creator>wongpl</dc:creator>
      <dc:date>2014-08-14T02:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: clear memory after close data table</title>
      <link>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9166#M9088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated the JMP to ver 11.2 solve the unload JPG file from memory issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 09:51:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/clear-memory-after-close-data-table/m-p/9166#M9088</guid>
      <dc:creator>wongpl</dc:creator>
      <dc:date>2014-09-17T09:51:31Z</dc:date>
    </item>
  </channel>
</rss>

