Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Domingo López Franco" <domingo@tid.es>
Subject: Re: /sbin/loader: Fatal Error: cannot map libxxx.so
Date: Thu, 01 Apr 2004 16:19:03 +0200	[thread overview]
Message-ID: <406C24D6.5D7B8D9@tid.es> (raw)
In-Reply-To: 4062B7CB.AA3BB7C1@tid.es


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.



      reply	other threads:[~2004-04-01 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-25 10:43 /sbin/loader: Fatal Error: cannot map libxxx.so Domingo López Franco
2004-04-01 14:19 ` Domingo López Franco [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox