Re: Bad ESQL/C Memory Configuration
Posted in 1998
Christian Kissner wrote: > > I have a problem allocating medium-sized memory when using ESQL-C. > Actually, it happens after connecting to my Database: All the > Memory I can get is just below 8MB ! > > [...] > > For Information: > I'm running program and server on the same Machine, Sun UltraSparc > with Solaris 2.5.1 and 512 MB RAM (and plenty of real and virtual > memory free while running) with Informix Online Server 7.24 UC2. > I' us onipcshm to connect, but couldn't find any Shared memory > parameter to affect this. Check INFORMIXSHMBASE -- I think that's the environment variable that resolves this sort of problem. Certainly, the problem is related to the shared memory connection and the address it uses. If all else fails, change connectivity to oltlitcp or olipcstr. And thanks for the platform information; you provided the key info which makes life so much easier for anybody answering! -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.59 -- see http://www.perl.com/CPAN #include <disclaimer.h>