From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,9dc5388cddabe082 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2004-04-01 07:03:46 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!irazu.switch.ch!switch.ch!news.rediris.es!news.hi.inet!not-for-mail From: Domingo =?iso-8859-1?Q?L=F3pez?= Franco Newsgroups: comp.unix.tru64 Subject: Re: /sbin/loader: Fatal Error: cannot map libxxx.so Date: Thu, 01 Apr 2004 16:19:03 +0200 Organization: =?iso-8859-1?Q?Telef=F3nica?= I+D (www.tid.es) Message-ID: <406C24D6.5D7B8D9@tid.es> References: <4062B7CB.AA3BB7C1@tid.es> NNTP-Posting-Host: BIOBRA.hi.inet Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: gl,es-ES,en Xref: archiver1.google.com comp.unix.tru64:11329 Hi, The problem was that the virtual memory soft limit was not high enough. BEFORE ======= ksh> ulimit -Hv <-- Virtual Memory Hard Limit 6290784 ksh> ulimit -Sv <-- Virtual Memory Soft Limit 1048576 After increasing virtual memory soft limit to 6GB ("ksh> ulimit -Sv 6290784") the program works properly. Best regards, Domingo. Domingo L�pez Franco wrote: > Hi, > > I've obtained this error when trying to execute a program: > --- > 5117:program_name.exe: /sbin/loader: Fatal Error: cannot map libwtc8.so > --- > > The program have been built using Pro*C. It has a great static memory > array inside it. > The program works fine with an array of 5.500.000 rows. If I increase > the size of the array to 6.000.000 rows I'll obtain the above error. > I think that it's related with some limit in the configuration of the > machine (it has 4GB of RAM). > > If I run the size command after compiling/linking the program (with both > values) I obtained: > --- > $ size program_name <<<< Program compiled/linked with a 5.500.000 > position array - It works fine! > text data bss dec hex > 163840 8192 987583504 987755536 3adff410 > > $ size program_name.exe <<<< Program compiled/linked with a 6.000.000 > position array - It Fails! > text data bss dec hex > 163840 8192 1025583504 1025755536 3d23c990 > --- > > Anybody has any clues how to correct it? > > Thank you very much in advance. > Domingo.