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>
I find no leak with Lyx-1.6.10, and an much smaller one (identical for each) of
0.28ko/mn with Lyx-2.0.2 and 2.0.1.
Is this a real leak, a misleading procedure, or a new behaviour with 2.0 (hidden
tasks like auto-update or something) ?
Jean-Pierre
On ArchLinux:
% lyx --version
LyX 2.0.2 (2011-11-26)
Built on Dec 31 2011, 06:13:09
Configuration
Host type: x86_64-unknown-linux-gnu
Special build flags: build=release use-aspell use-enchant
use-hunspell
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
C++ Compiler: g++ (4.6.2)
C++ Compiler LyX flags:
C++ Compiler flags: -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-fpermissive
Linker flags:
Linker user flags:
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
Qt 4 Frontend:
Qt 4 version: 4.8.0
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx
On Debian Squeeze:
$ lyx-2.0.2 --version
LyX 2.0.2 (2011-11-25)
Built on Nov 26 2011, 17:09:16
Configuration
Host type: i686-pc-linux-gnu
Special build flags: build=release use-aspell
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -O2
C++ Compiler: g++ (4.4.5)
C++ Compiler LyX flags:
C++ Compiler flags: -O2
Linker flags:
Linker user flags:
Qt 4 Frontend:
Qt 4 version: 4.6.3
Packaging: posix
LyX binary dir: /usr/local/bin
LyX files dir: /usr/local/share/lyx-2.0.2