Re: LyX 2.5.0 -- is there a memory leakage on Windows?

Scott Kostyshak via lyx-users <[email protected]> Wed, 1 Apr 2026 15:15:25 +0200
Newsgroups gmane.editors.lyx.general
Message-ID <ac0ZjTUZsjuImKRZ@jimmy>
On Wed, Apr 01, 2026 at 12:01:50PM +0200, Jean-Marc Lasgouttes via lyx-users wrote:
> Le 01/04/2026 à 11:34, Bernt Lie via lyx-users a écrit :
> > LyX 2.5.0 works reasonably well on Windows 11. However, I notice that
> > after a few hours of working, the performance becomes sluggish.
> > 
> > If I close LyX and restart it, it immediately becomes more snappy.
> > 
> >   *
> >     Does this indicate a memory leakage?
> >   *
> >     How can I check for memory leakage more concretely to give a more
> >     precise diagnostic?
> 
> Hello Bernt,
> 
> This is not acceptable indeed. To see if the issue is related to a memory
> leak, you can try to use Task Manager or Resource Monitor to see whether the
> memory use of LyX grows, and whether it grows enough to trigger swapping.
> 
> But if memory is not tight, a memory leak does not in itself cost
> performance. Therefore, there may be other issues at stake. However,
> "working for a few hours" is not something that I can reproduce easily.
> (especially if we do not do the same actions).
> 
> @Windows_experts: are there tools that could be used to profile a work
> session (and that are not too annoying performance-wise)? What kind of data
> do they require? A version of LyX with debug information?

Not sure if related, but Jürgen fixed an issue that had symptoms of a
memory leak (although not technically a memory leak):

https://www.mail-archive.com/search?l=mid&q=8ac50164fc1b3a3e7b249d2376555c58c37c9209.camel%40lyx.org

From what I understand, the fixes should be in 2.5.0, so perhaps the above is not related at all.
But it's possible further similar fixes are needed.

Scott

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmnNGmwACgkQA4ZnarZH
C+tvpgf7B3f+sUc25Z74eiDCmqlyWyPn5I5DsAFYYg4u1sLchwS1hYnqhQq02OvW
CY7BUvOtZ1OXYiu5/OCQ+O0co+Vn0UyRAvfidTG4UPuz9A7UHjWumP/GwYgojREa
tU9CteO75NkSlw4x5td2rKr7/ew/uCQuTsziyy9iaJNtiwzAUMqJMXeBCExa/wb9
DTUOOqrxZ5B7RF51PljZgWCZ/BTrUVIBFN/3bEOJLxvFNbSj7CsEgkI+kWWn/PdA
25oWBfkJ0ETqjFBMMHIkmyHfbhnkHSmVF2pcWk4MvPGsOTbbvcsFCbn7iyDf2uj5
g9Bsh9o66fRCbiP/1Cb6Z4b2qZT/+Q==
=+2ub
-----END PGP SIGNATURE-----