Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* /sbin/loader: Fatal Error: cannot map libxxx.so
@ 2004-03-25 10:43 Domingo López Franco
  2004-04-01 14:19 ` Domingo López Franco
  0 siblings, 1 reply; 2+ messages in thread
From: Domingo López Franco @ 2004-03-25 10:43 UTC (permalink / raw)



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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /sbin/loader: Fatal Error: cannot map libxxx.so
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Domingo López Franco @ 2004-04-01 14:19 UTC (permalink / raw)



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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-01 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox