Re: Problems with temporary string storage space
Posted in 1999
Topics: Installation, Setup & Upgrades, Storage & Space Management, Connectivity: ESQL/C, 4GL & Embedded SQL, Migration, Import/Export & Data Conversion
There used to be an excellent explanation of this and the various = workrounds in the FAQ, check out www.iiug.org Paul Watson WF Software Ltd Tel +44 1436 674729 Fax +44 1436 678729 www.wfsoftware.co.uk >>> Ignasi Fosch Alonso <ifosch@sefes.es> 06/25/99 05:57pm >>> Este es un mensaje multipartes en formato MIME. --------------5B9E897263661D9BB39A754E Content-Type: text/plain; charset=3Dus-ascii Content-Transfer-Encoding: 7bit Hi, Folks, I'v found a problem with a 4GL program running on an Informix SE with SCO Openserver. This machine is a AMD K6-2 300 MHz with 64 Mb RAM space and sufficient disk space. We have a program which unloads some data to ASCII files for a modem communication, but in this case, the program exits abnormally with the following error message: 4GL run-time error number -4518 The 4GL program cannot allocate any more space for temporary string storage. I've checked this with other computers and the same configuration runs OK! Maybe I think there would be any problem with the swap space..... This machine was installed urgently and I think there is no sufficient swap space (I used to install three times the RAM space) and this machine's swap space is less than the RAM space.... Folks, you'll be thinking "What is this guy doing!" Must I reinstall all the system? Thanks --------------5B9E897263661D9BB39A754E Content-Type: text/x-vcard; charset=3Dus-ascii; name=3D"ifosch.vcf" Content-Transfer-Encoding: 7bit Content-Description: Tarjeta de Ignasi Fosch Alonso Content-Disposition: attachment; filename=3D"ifosch.vcf" begin:vcard=20 n:Fosch Alonso;Ignasi x-mozilla-html:FALSE org:Grup RALARSA Auto Cristal adr:;;Avda. Pau Casals, 140;L'Hospitalet del Llobregat;Barcelona;08907;Espa= nya version:2.1 email;internet:ifosch@sefes.es=20 title:Responsable del Departament d'Informatica tel;fax:34 93 335 48 55 tel;home:619 40 26 72 tel;work:34 93 336 59 00 x-mozilla-cpt:;0 fn:Ignasi Fosch Alonso end:vcard --------------5B9E897263661D9BB39A754E-- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
Hi Paul, this is an old 4GL-Problem. You need a little C-Code and install it into your fglgo (typically I named it nfglgo): /************************************************************************/ #include <stdio.h> /************************************************************************/ int fgl_memcl(); /************************************************************************/ cfunc_t usrcfuncs[]= { "fgl_memcl", fgl_memcl, 0, 0,0,0 }; /************************************************************************/ int fgl_memcl() /* Delete allocated temporary string */ { acdealloc(); return 0; } /************************************************************************/ Write this to a file <file.c> and then compile and link it to the server with cfglgo <file.c> -o nfglgo Best regards from germany Gerhard Quell --------------------- Paul watson wrote: > I'v found a problem with a 4GL program running on an Informix SE with > SCO Openserver. This machine is a AMD K6-2 300 MHz with 64 Mb RAM space > and sufficient disk space. We have a program which unloads some data to > ASCII files for a modem communication, but in this case, the program > exits abnormally with the following error message: > 4GL run-time error number -4518 > The 4GL program cannot allocate any more space for temporary string > storage. -- --------- SKE - Gerhard Quell - Institut für angewandten Nexialismus -------- Moorstr. 7 eMail: gquell@skequell.de Fon: 05136-970009 30916 Isernhagen web : http://www.skequell.de Fax: 05136-970008 ------------------------------------------------------------------------------