Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-10-27 15:15:46

V10lator
Member
From: Germany
Registered: 2012-08-16
Posts: 9
Website

Memory leak in Terminal?

Hi,
I wondered what eats up my RAM and ofc. my first candidiate was the browser with many open tabs, but after checking it with top I saw that Terminal eats up the most RAM: Right now this is 30.1% of 8GB ram, so around 2.5 GB. This is with 10 open tabs. BTW: the browser just uses 5.5%.

I don't think this is normal and am expecting a memory leak here. Does anybody know more?

//EDIT: It slowly grows. Right now it's 30.7%. Closing tabs seems to not free memory, too.

Last edited by V10lator (2012-10-27 20:10:16)

Offline

#2 2012-11-02 18:06:24

nuc
Member
Registered: 2012-04-28
Posts: 20

Re: Memory leak in Terminal?

Do you always experience this issue? Sorry but I can't reproduce this...


my system:
ArchLinux
xfce 4.10

Offline

#3 2012-11-05 10:19:02

V10lator
Member
From: Germany
Registered: 2012-08-16
Posts: 9
Website

Re: Memory leak in Terminal?

nuc wrote:

Do you always experience this issue?

Yes, but I'm not 100% sure what produces it. One of it might be the Terminal not freeing up the RAM for closed tabs.

Sorry but I can't reproduce this...

Don't say that before I told you how to:
1) Open up Terminal, get RAM, should look like this:
291m  17m  12m S    2  0.2   0:01.97 Terminal
2) Open up a new tab, do something in it, close it again. Get RAM again:
298m  22m  13m S    1  0.3   0:03.66 Terminal
3) Open a few new tabs, do something in them, close them again, get RAM again:
348m  28m  15m S    1  0.4   0:09.77 Terminal
4) Wait some time, get RAM again, compare all numbers:

---------------- VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
05. Nov. 11:05 - 291m  17m  12m S    2  0.2   0:01.97 Terminal
         11:11 - 298m  22m  13m S    1  0.3   0:03.66 Terminal
         11:13 - 348m  28m  15m S    1  0.4   0:09.77 Terminal
         11:17 - 348m  28m  15m S    1  0.4   0:10.20 Terminal

looks like it doesn't free up the RAM, doesn't it? sad

Offline

Board footer

Powered by FluxBB