<?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: An Exception has been encountered. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512067#M17399</link>
    <description>What exactly is your question? How to increase memory SAS uses? How to use all points in your graph? How to split data set? &lt;BR /&gt;&lt;BR /&gt;What SAS version are you using? &lt;BR /&gt;</description>
    <pubDate>Mon, 12 Nov 2018 03:33:48 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-11-12T03:33:48Z</dc:date>
    <item>
      <title>An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512064#M17398</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to save a very big data set into smaller data set so that I can draw a graph but am encountering this error "An Exception has been encountered".. I request for advise on how to solve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have 8GB ram but am wondering why drawing graphs beyond 1,000,000 observations ends into an error ' Insufficient memory', How can I increase my memory utilization?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the procedure i have been running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods select none;&lt;BR /&gt;proc kde data=Calibration;&lt;BR /&gt;bivar x y / out=Want;&lt;BR /&gt;run;&lt;BR /&gt;ods select all;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be glad to be assisted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 03:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512064#M17398</guid>
      <dc:creator>DavidsM</dc:creator>
      <dc:date>2018-11-12T03:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512067#M17399</link>
      <description>What exactly is your question? How to increase memory SAS uses? How to use all points in your graph? How to split data set? &lt;BR /&gt;&lt;BR /&gt;What SAS version are you using? &lt;BR /&gt;</description>
      <pubDate>Mon, 12 Nov 2018 03:33:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512067#M17399</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-12T03:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512070#M17400</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to increase memory usage in SAS will be of good help for the start and I see if its memory problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think all the 3 above can solve the problem am encountering. I dont know exactly what the problem is because the data is extremity big more than 8,000,000,000 observations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible help me with method to increase memory and plotting all points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the quick response and assistance.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 03:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512070#M17400</guid>
      <dc:creator>DavidsM</dc:creator>
      <dc:date>2018-11-12T03:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512077#M17401</link>
      <description>What SAS version are you using? Visualizing 8 million points isn’t usually  useful, is there a summarization that would make sense?</description>
      <pubDate>Mon, 12 Nov 2018 04:26:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512077#M17401</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-12T04:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512079#M17402</link>
      <description>&lt;P&gt;I am using SAS 9.4 University Edition and I will take any advise you give me so that I can solve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also think visualizing reduced number of observation would be best and I was trying to reduce the data using proc KDE and save the output data but this error didn't allow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for responding.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 04:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512079#M17402</guid>
      <dc:creator>DavidsM</dc:creator>
      <dc:date>2018-11-12T04:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512083#M17403</link>
      <description>That's what I was afraid of... You can increase the RAM in the VM box settings, but the reality is that SAS UE has limitations and you're running into it. You can increase your RAM which will help I think the default is one or two GB. &lt;BR /&gt;You can also redirect your library by creating a user library, but this only works when you're doing data step and sort processes, I don't think it will help with graphics. &lt;BR /&gt;You cannot change the other settings. &lt;BR /&gt;&lt;BR /&gt;Make sure to create the temp folder to hold data sets here if you do this and remember to periodically delete them, because SAS does not when you do this. &lt;BR /&gt;*create a user library;&lt;BR /&gt;libname user '/folders/myfolders/mywork';&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Nov 2018 05:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512083#M17403</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-12T05:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512112#M17405</link>
      <description>&lt;P&gt;The data sets are directed to the external hard drive and I have them read but plotting them is the problem. But I have not understood exactly how to increase my memsize. Which procedure do i use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 08:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512112#M17405</guid>
      <dc:creator>DavidsM</dc:creator>
      <dc:date>2018-11-12T08:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512115#M17406</link>
      <description>It’s not a SASoption, it’s an option on Virtual Box, that you’re using to run SAS UE. Do not change the number of codes past 2.</description>
      <pubDate>Mon, 12 Nov 2018 08:33:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512115#M17406</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-12T08:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512117#M17407</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;has mentioned there are limits to what can be processed.&amp;nbsp; Remember SAS UE is a learning tool, its not a full fledged product for standard use, and thus has other constraints.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should never be plotting millions of observations, that is not at all useful.&amp;nbsp; Consider an 800*600 pixel graph could only hold 480k points, you are just wasting memory and processing.&amp;nbsp; Look at your data and summarise it.&amp;nbsp; I can't tell you how as you have not provided any, but some procedures which jump to mind are proc means - for sum, mean, stddev etc. summation.&amp;nbsp; It may also be that you need to group the data, or process it further to get a small set of data ready for plotting.&amp;nbsp; For instance we collect lab paramters, and these get processed to find changes from baseline values, then means then output to a separate plot per parameter.&amp;nbsp; Exact processing of course is down to what you want and what data you have, neither of which I know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 08:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512117#M17407</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-11-12T08:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512169#M17408</link>
      <description>&lt;P&gt;Could you try this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Graphics-Programming/RE-PLOTTING-GRAPH-FOR-DATA-CONTAINING-MANY-OBSERVATIONS/m-p/512172#M17409" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/RE-PLOTTING-GRAPH-FOR-DATA-CONTAINING-MANY-OBSERVATIONS/m-p/512172#M17409&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
proc kde data=Calibration;
bivar x y / out=Want;
run;
ods html;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 13:42:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512169#M17408</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-11-12T13:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: An Exception has been encountered.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512187#M17412</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203872"&gt;@DavidsM&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But I have not understood exactly how to increase my memsize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can't. MEMSIZE is set at SAS startup, and the configuration files for that are stored in a part of the UE VM that you can't reach for editing.&lt;/P&gt;
&lt;P&gt;As the others said, UE is a learning tool designed for example data, not production-size datasets.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 13:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/An-Exception-has-been-encountered/m-p/512187#M17412</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-12T13:41:33Z</dc:date>
    </item>
  </channel>
</rss>

