Am Montag, 11. März 2013 um 12:43:30, schrieb Jean-Marc Lasgouttes <[email protected]> > Le 11/03/2013 12:22, Kornel Benko a écrit : > > Hi, > > > > advanced search in my document (for a non-existent string on all opened > > documents): > > > > takes 227 seconds. Moreover, at the end of search (dialog asking to > > start over) > > I tried the merged manual, and indeed it is very slow. Are you trying > with stdlib-debug on?
I don't think so. How can I check?
In cmake I am creating a debug version, but without using LYX_STDLIB_DEBUG.
This means, the gcc does *not* have
-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
> >
> > eats so much memory ( > 4GB), that my computer starts to using swap disk.
>
> I do not see that. It looks like a memory leak...
>
> >
> > Being warned on the plaintext problem, I checked the times
> > without the use of "InsetBibtex::plaintext()" (inserting "return 0;" at
> > start).
> >
> > Then the same search takes 179 seconds. Memory consumption is still hig,
> > (~3GB).
>
> How large is your bib file?
#wc bibliography.bib
14073 93525 710193 bibliography.bib
# egrep '^@' bibliography.bib | wc
336 336 7285
> If you are in linux, you can run the valgrind to see whether there are
> memory leaks.
Trying... takes nearly forever ... only 1 of my 4 cpu's is busy (100%) ...
will mail again, when (and if?) the seach under valgrind ends.
> JMarc
Kornel
signature.asc
Description: This is a digitally signed message part.
