On 11/11/06, Donald Axel <[EMAIL PROTECTED]> wrote:


    This is not a specifically Gvim related question though I
experienced this first with gvim.

    After compiling and installing xen-3.0.3_0-src on a SL-43 system I
tried to read some file with gvim and it took 5 minutes or slightly
more to open the file and display its content.

    SL-43: Scientific Linux version 4.3.

    As this of course was very intriguing (read-arm clicking for a long
time) I tried to follow what files were opened with

    "lsof -p XXXX"

    It showed that the gvim-process walked through the entire
"xen-3.0.3_0-src" tree opening and closing files.

    After I moved this tree time for loading gvim was reduced to some 5
seconds first time and 0 seconds on next load.

    Same applies to gxine (and probably other multimedia applications).

    What can cause a program to search through the whole tree of the
source of an installed software package?

Check the $LD_LIBRARY_PATH environment variable.

Yakov

Reply via email to