[Desktop-packages] [Bug 305927] Re: gedit leaks memory
Bug report did not close due to bug watch Initial reports were about GNOME 2 version of gedit Upstream issue closed "RESOLVED OBSOLETE" on 2020-11-24 No reply to comment #10 after almost 4 years so closing ** Changed in: gedit (Ubuntu) Status: Incomplete => Invalid ** Changed in: gedit (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) => (unassigned) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/305927 Title: gedit leaks memory Status in gedit: Confirmed Status in gedit package in Ubuntu: Invalid Bug description: Binary package hint: gedit It seems gedit doesn't release the memory used to open a file when closing it making it so use ridiculous space in ram for little files if you opened a big file and closed it. Strangely gnome system monitor reports a lower memory use under the processes tab, but reports the used ram in the resources tab and top actually gives the high amounts of used ram. To try this: 1- open gedit 2- open top 3- notice the ram use: 19393 weltall 20 0 38980 19m 10m S0 0.7 0:00.79 gedit 4- get a big file to open (mysql dumps are the best to try. I've tried with a ~50 mb dump) 5- you will notice an higher ram use, for sure > 300mb to open a 50mb file is a bit excessive but this is still an optimization issue which goes beyond this bug report: 19393 weltall 20 0 342m 305m 12m S2 10.1 3:02.14 gedit 6- close the tab which had the file 7- check again top no changes in ram use: 19393 weltall 20 0 342m 305m 12m S0 10.1 3:02.85 gedit this is definitely a memory leak or a bad ram retaining for future use implementation 8- try to reopen the file, gedit will take the same time to parse the file, but the increase of ram use is more little: 19393 weltall 20 0 381m 345m 12m S0 11.4 6:01.23 gedit 9- close the file again the ram use doesn't change again other gnome applications have similar leak issues like nautilus which after some days takes more than 300mb like nothing and closing windows doesn't release ram so maybe the problem might reside in underlying libraries. It seems applications like geany actually releases correctly the ram but i didn't investigate if they use similar libraries i'm using ubuntu intrepid with all the updates from normal repositories (altough this bug has been present since various releases) Description: Ubuntu 8.10 Release: 8.10 gedit: Installed: 2.24.2-0ubuntu1 Candidate: 2.24.2-0ubuntu1 Version table: *** 2.24.2-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid-updates/main Packages 100 /var/lib/dpkg/status 2.24.0-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid/main Packages To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/305927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 305927] Re: gedit leaks memory
** Tags added: intrepid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/305927 Title: gedit leaks memory Status in gedit: Confirmed Status in gedit package in Ubuntu: Incomplete Bug description: Binary package hint: gedit It seems gedit doesn't release the memory used to open a file when closing it making it so use ridiculous space in ram for little files if you opened a big file and closed it. Strangely gnome system monitor reports a lower memory use under the processes tab, but reports the used ram in the resources tab and top actually gives the high amounts of used ram. To try this: 1- open gedit 2- open top 3- notice the ram use: 19393 weltall 20 0 38980 19m 10m S0 0.7 0:00.79 gedit 4- get a big file to open (mysql dumps are the best to try. I've tried with a ~50 mb dump) 5- you will notice an higher ram use, for sure > 300mb to open a 50mb file is a bit excessive but this is still an optimization issue which goes beyond this bug report: 19393 weltall 20 0 342m 305m 12m S2 10.1 3:02.14 gedit 6- close the tab which had the file 7- check again top no changes in ram use: 19393 weltall 20 0 342m 305m 12m S0 10.1 3:02.85 gedit this is definitely a memory leak or a bad ram retaining for future use implementation 8- try to reopen the file, gedit will take the same time to parse the file, but the increase of ram use is more little: 19393 weltall 20 0 381m 345m 12m S0 11.4 6:01.23 gedit 9- close the file again the ram use doesn't change again other gnome applications have similar leak issues like nautilus which after some days takes more than 300mb like nothing and closing windows doesn't release ram so maybe the problem might reside in underlying libraries. It seems applications like geany actually releases correctly the ram but i didn't investigate if they use similar libraries i'm using ubuntu intrepid with all the updates from normal repositories (altough this bug has been present since various releases) Description: Ubuntu 8.10 Release: 8.10 gedit: Installed: 2.24.2-0ubuntu1 Candidate: 2.24.2-0ubuntu1 Version table: *** 2.24.2-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid-updates/main Packages 100 /var/lib/dpkg/status 2.24.0-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid/main Packages To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/305927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 305927] Re: gedit leaks memory
Does this still occur on Ubuntu 18.10 "Cosmic Cuttlefish" with gedit 3.30.2-0ubuntu0.18.10.2? Several memory leaks were fixed in gedit 3.14.0-3. ** Changed in: gedit (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/305927 Title: gedit leaks memory Status in gedit: Confirmed Status in gedit package in Ubuntu: Incomplete Bug description: Binary package hint: gedit It seems gedit doesn't release the memory used to open a file when closing it making it so use ridiculous space in ram for little files if you opened a big file and closed it. Strangely gnome system monitor reports a lower memory use under the processes tab, but reports the used ram in the resources tab and top actually gives the high amounts of used ram. To try this: 1- open gedit 2- open top 3- notice the ram use: 19393 weltall 20 0 38980 19m 10m S0 0.7 0:00.79 gedit 4- get a big file to open (mysql dumps are the best to try. I've tried with a ~50 mb dump) 5- you will notice an higher ram use, for sure > 300mb to open a 50mb file is a bit excessive but this is still an optimization issue which goes beyond this bug report: 19393 weltall 20 0 342m 305m 12m S2 10.1 3:02.14 gedit 6- close the tab which had the file 7- check again top no changes in ram use: 19393 weltall 20 0 342m 305m 12m S0 10.1 3:02.85 gedit this is definitely a memory leak or a bad ram retaining for future use implementation 8- try to reopen the file, gedit will take the same time to parse the file, but the increase of ram use is more little: 19393 weltall 20 0 381m 345m 12m S0 11.4 6:01.23 gedit 9- close the file again the ram use doesn't change again other gnome applications have similar leak issues like nautilus which after some days takes more than 300mb like nothing and closing windows doesn't release ram so maybe the problem might reside in underlying libraries. It seems applications like geany actually releases correctly the ram but i didn't investigate if they use similar libraries i'm using ubuntu intrepid with all the updates from normal repositories (altough this bug has been present since various releases) Description: Ubuntu 8.10 Release: 8.10 gedit: Installed: 2.24.2-0ubuntu1 Candidate: 2.24.2-0ubuntu1 Version table: *** 2.24.2-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid-updates/main Packages 100 /var/lib/dpkg/status 2.24.0-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid/main Packages To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/305927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 305927] Re: gedit leaks memory
** Changed in: gedit Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/305927 Title: gedit leaks memory Status in Light-Weight Text Editor for Gnome: Confirmed Status in “gedit” package in Ubuntu: Triaged Bug description: Binary package hint: gedit It seems gedit doesn't release the memory used to open a file when closing it making it so use ridiculous space in ram for little files if you opened a big file and closed it. Strangely gnome system monitor reports a lower memory use under the processes tab, but reports the used ram in the resources tab and top actually gives the high amounts of used ram. To try this: 1- open gedit 2- open top 3- notice the ram use: 19393 weltall 20 0 38980 19m 10m S0 0.7 0:00.79 gedit 4- get a big file to open (mysql dumps are the best to try. I've tried with a ~50 mb dump) 5- you will notice an higher ram use, for sure > 300mb to open a 50mb file is a bit excessive but this is still an optimization issue which goes beyond this bug report: 19393 weltall 20 0 342m 305m 12m S2 10.1 3:02.14 gedit 6- close the tab which had the file 7- check again top no changes in ram use: 19393 weltall 20 0 342m 305m 12m S0 10.1 3:02.85 gedit this is definitely a memory leak or a bad ram retaining for future use implementation 8- try to reopen the file, gedit will take the same time to parse the file, but the increase of ram use is more little: 19393 weltall 20 0 381m 345m 12m S0 11.4 6:01.23 gedit 9- close the file again the ram use doesn't change again other gnome applications have similar leak issues like nautilus which after some days takes more than 300mb like nothing and closing windows doesn't release ram so maybe the problem might reside in underlying libraries. It seems applications like geany actually releases correctly the ram but i didn't investigate if they use similar libraries i'm using ubuntu intrepid with all the updates from normal repositories (altough this bug has been present since various releases) Description: Ubuntu 8.10 Release: 8.10 gedit: Installed: 2.24.2-0ubuntu1 Candidate: 2.24.2-0ubuntu1 Version table: *** 2.24.2-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid-updates/main Packages 100 /var/lib/dpkg/status 2.24.0-0ubuntu1 0 500 http://it.archive.ubuntu.com intrepid/main Packages To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/305927/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp