Re: [dev] [st] Larger HISTSIZE consumes huge memory

2017-06-22 Thread Techno Implant
> Wrong: ... Sorry for posting again. Does that mean If I have single st window open it'll allocate 120MiB but won't actually use that?? And also other applications can't use that space ?? With 10 st window you have 1GiB less, available space for other applications ?

Re: [dev] [st] Larger HISTSIZE consumes huge memory

2017-06-22 Thread Techno Implant
> Wrong: ... Thanks. If that's the case then topic closed.

Re: [dev] [st] Larger HISTSIZE consumes huge memory

2017-06-22 Thread Techno Implant
> What's the problem here? It's only virtual memory, so the Kernel should > do exactly that already. ps aux for st and urxvt burhan7634 0.1 0.3 181100 20748 ?S19:24 0:00 urxvt burhan7650 0.1 0.3 181092 20296 ?S19:24 0:00 urxvt burhan7664 0.1 0.3 18109

Re: [dev] [st] Larger HISTSIZE consumes huge memory

2017-06-21 Thread Techno Implant
urxvt's daemon mode does not give many benefits. It groups terminals together , so less memory consumption. And It's supposed to be faster, this part I'm not sure though. Burhan On 21 June 2017 at 21:19, hiro <23h...@gmail.com> wrote: > i tried urxvt's daemon mode. it doesn't offer any benefit. i

[dev] [st] Larger HISTSIZE consumes huge memory

2017-06-21 Thread Techno Implant
With HISTSIZE being 2000 memory consumed is around 8MiB And for 4 it's 120MiB. This is a large number for terminal. Whereas for urxvt I set saveLines to 65000 and it consumes less around 8MiB. It increases when I have more lines in scrollback . So my question is if there's a patch that can mak