When I tried to create chart in EG 5.1, I got the error as follows. My data has only only 4 rows and 4 columns as well.
ERROR: Unable to allocate sufficient memory. At least 469K bytes were requested, but only 45K were available. You must either increase the amount of memory
available, or approach the problem differently.
ERROR: Driver SASGDGIF will not load.
ERROR: Device was not specified.
Can some suggest the workaround to increase the amount of memory ?
Some hints:
And look at your overall constraints (memsize) and possibly memory constraints imposed by the server operating system upon the userid that runs the spawner.
Any possibilities to add the below code in EG (likely in tools->options->??) once and use the same for all my sessions instead of adding this everytime while creating charts?
options maxmemquery=1M;
There is an option for code to be sent to the server when the connection is established.
Look in Tools - Options - SAS Code
I added the code in Tools - Options ->SAS Programs->submit SAS programs when server is connected. But it is throwing me an error as I got earlier.
Did the options statement work if included in the code immediately before the graphic proc?
Yes, It did worked when I added in code.
Once you have established a server connection, look in the server intialization log (rightclick on the server in the server list, Properties, Software) if the statement is executed.
Also make sure that you have no contrary statement in the custom code to be executed before tasks and codes.
May I request you to elaborate your reply. I don't know to find the server list in SAS EG. My SAS was installed in Cygwin enviornment.
The server list is an integral part of the EG user interface. If not visible, select View - Serverlist from the main menu.
I checked the server initialization log and there is no evidence that my statement in 'Tools - Options ->SAS Programs->submit SAS programs when server is connected' is exceuted.
After writing the code in the window, did you activate the option?
I put a simple %put "Killroy was here"; in there and immediately got in on my next new server session.
I didn't activate either. So do you want me to reconnect my session after saving my code to activate my option?
You have to make sure that there is a tickmark next to "submit SAS programs when server is connected", and, after saving your changes, you need to terminate the server connection and restart it. Nest time you start your EG and connect to the server, the code will be executed automatically.
Please show us the data, and describe what kind of pie chart you want.
I'd be interested in seeing what kind of request caused this problem.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.