> > > > > I have used LyX in -dbg mode and checked the conversion process. It
> > > > > does not seem that LyX itself is doing things badly, but it calls
> > > > > convert for every image on the current screen and convert seems to
> > > > > be doing a bad job, taking up all memory and filling the swap area
> > > > > as well.
> > >
> > > Wouldn't 'nice' be useful in this situation?
> > 
> > Sure. But not LyX's business. The user is free to write his own shell scrip
> t 
> > wrapper for convert/gs/whatever. Total freedom to set the nice value as 
> > desired.
> 
> Oh, I agree... this was intended as a tip for Joao... (or people in 
> general who suffer from this problem)

Hm... I had to leave for 2 days, now I am catching up the news.

I think that adding nice to the conversion process is a good idea
that can be done in a user-by-user basis, but I believe that one
of the major problems of convert is its memory consumption. Adding
nice would reduce the CPU consumption, but after a while memory
will again fill up with imaegs being coverted.

Thta is why I believe that making the conversion process a serial
one would speed up things much more: memory is used for one image
at a time and thus fills up only in extreme cases. No swap, no disk
delays, etc...

joao


Reply via email to