Re: Need help with informix memory management
Posted in 1998
Matthias Kuespert wrote: > > Hi, > > we encountered a strange problem using Informix on Sun Solaris 2.5.1: > > If we connect to the DB (via E-SQL-C CONNECT statement) we cannot > allocate more than appr. 7 MB with our application. After that > size malloc() returns a NULL pointer and errno says: not enough space. > > If we do not connect we can allocate as much space as available > on that machine (as expected). > > Does anybody have the same problems - or a solution??? > > We believe it is just a configuration-option, but we are not sure. Looks like you have SHMBASE set too low in your $ONCONFIG file. Check the release notes for the suggested value or try "0x0" which will allow shared memory to attached at the system default address which is usually about 2GB. Art S. Kagel