NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Linux compat and swap



Hello,

A closed source program exists freely downloadable for Windows and some
version of Linux.

I run it with Linux compatibility and emulation under NetBSD, and this
program, that should simply take a line at a time from stdin and
convert coordinates, leads, when there are too many lines (records) to
an exhaustion of the NetBSD swap partition (limited in size because with
the amount of memory here and the programs it runs, there should have
been far enough).

The question: is this the compatibility layer that uses the swap
partition instead of the RAM for its allocation or is this the program
itself that uses it (and there is enough RAM on the node for
accommodating it even if I do not understand why it should need a
huge amount).

Is there a sysctl tuning that could instruct to use the RAM and not goes
to the swap?

(This can be also simply a memory leak in the program but since the RAM
is not exhausted...).

TIA,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index