On 01/21/2012 05:36 AM, Jean-Pierre Chrétien wrote:
Hello,

A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn).

On my Debian Squeeze and a simple document, I find about 1.7ko/mn.

Testing with the Userguide, I find around 19ko/mn with the following recipe:
 - open LyX-2.0.2 (English locale)
 - open the UserGuide
 - minimize the window
- activate a crontab every minute with command ps -o rss= -p <process_id>

Below is a log of a test on Fedora 16, Qt 4.8.0, with 2.0.3svn, compiled as for release. As you'll see, there's a jump when the first autosave happens---we may be loading some Qt libraries we weren't otherwise using---but after that, there's not much change.

Richard

==================

/home/rgheck/ > while [ "ss" ]; do ps -o rss= -p 3483; sleep 60; done
63512
63416
63416
63416
63416
63416
Now I will make the document dirty.
63516
63516
Autosave is set to 10 minutes
63628
63628
73444
/tmp/ > ll *User*
-rw-rw-r--. 1 rgheck rgheck 795K Jan 21 12:17 #UserGuide.lyx#
-rw-rw-r--. 1 rgheck rgheck 795K Jan 21 12:03 UserGuide.lyx
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73476
73480
/tmp/ > ll *User*
-rw-rw-r--. 1 rgheck rgheck 795K Jan 21 12:37 #UserGuide.lyx#
-rw-rw-r--. 1 rgheck rgheck 795K Jan 21 12:03 UserGuide.lyx
73464
73464
73704
73704
74392
74392
74392
74392
74392
74568
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
73888
74568

Reply via email to