[omniORB] cg: cg_memory_allocation.calloc: out of memory

Harri Pasanen harri.pasanen@trema.com
Wed, 28 Feb 2001 15:19:18 +0100


Looks like the compiler is running out of memory for some reason.

Do you perhaps have a ulimit or a kernel parameter that restricts you to
some subset of total available memory?

At least under HP-UX there is a kernel parameter affecting this that by
default is too low.

-Harri

Janne Haverinen wrote:
> 
> I got following error in Solaris:
> 
> CC -c -O2 -g    -DUsePthread -D_REENTRANT -mt -I. -I./.. -I./../..
> -DUSE_omniORB_logStream -D_OMNIORB_DYNAMIC_LIBRARY -DUnixArchitecture
> -DCONFIG_DEFAULT_LOCATION=/etc/omniORB.cfg -I.  -I../../../../include
> -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o irstub.o irstub.cc
> cg: assertion failed in file ../src/common/cg_malloc.cc at line 94
> cg: cg_memory_allocation.calloc: out of memory
> cg: 1 errors
> gmake[3]: *** [irstub.o] Error 1
> gmake[3]: Leaving directory
> `/research/isg/external_resources/applications/omni/src/lib/omniORB2/dynamic'
> 
> gmake[2]: *** [export] Error 2
> gmake[2]: Leaving directory
> `/research/isg/external_resources/applications/omni/src/lib/omniORB2'
> gmake[1]: *** [export] Error 2
> gmake[1]: Leaving directory
> `/research/isg/external_resources/applications/omni/src/lib'
> gmake: *** [export] Error 2
> (tk3)(johannes)(107)(src)
> 
> My systems is:
> SunOS tk3 5.8 Generic_108528-04 sun4u sparc SUNW,Ultra-80
> 
> and memory status:
> Memory: 3072M real, 2499M free, 283M swap in use, 4050M swap free
> 
> What might be the problem?
> 
> // Janne Haverinen