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

Cary O'Brien cobrien@Radix.Net
Wed, 28 Feb 2001 13:30:04 -0500 (EST)


[Charset iso-8859-2 unsupported, filtering to ASCII...]
> 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

As someone else suggested, it may be that the compiler is running out
of memory.  You may want to try chainging the optimization(-O2) to just -O,
or leaving it out altogether.  Someone also suggested checking ulimit.

-- cary

[snip]
> 
> 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
> 

Yikes!  Lots-o-ram!

> What might be the problem?
> 
> // Janne Haverinen
> 
> 
>