I am working on a new ZSH theme and am trying to get time shown with seconds while waiting on input. My arbitrary approaches have so far resulted in the zsh process consuming more and more memory the longer I leave it. On zsh 5.4.2: zsh -f robo-unseptium% hi(){ zle .reset-prompt } And then I let the shell sit there and it slowly consumes more memory. Watching with: ps --ppid 12490 -o command,vsize,rss,%mem,size Most noticeably, the RSS continues to increment by 4kb every so
often, not sure if it's exactly on the ALRM signal timing but it
appears to be on a similar regular interval. (Started it last
night at 10MB, now at 60MB memory usage.) Should I try a different zsh version or start digging through
memory? Or is there some option I am potentially missing that
would stop this growing memory? --
\Ben Klein Founder and Owner of Robosane, robobenklein@xxxxxxxxxxxx You can find me elsewhere online as 'robobenklein'. If you need to contact me securely, I am also reachable via GPG, or on Keybase. |
Attachment:
signature.asc
Description: OpenPGP digital signature