02-26-2015 06:10 AM
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 ?
02-26-2015 06:20 AM
And look at your overall constraints (memsize) and possibly memory constraints imposed by the server operating system upon the userid that runs the spawner.
02-26-2015 07:02 AM
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?
02-26-2015 07:07 AM
There is an option for code to be sent to the server when the connection is established.
Look in Tools - Options - SAS Code
02-26-2015 07:25 AM
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.
02-26-2015 07:30 AM
Did the options statement work if included in the code immediately before the graphic proc?
02-26-2015 07:52 AM
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.
02-26-2015 08:15 AM
The server list is an integral part of the EG user interface. If not visible, select View - Serverlist from the main menu.
02-26-2015 09:01 AM
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.
02-26-2015 09:11 AM
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.
02-27-2015 02:19 AM
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.