Re: [zathura] [Zathura PATCH] RFC

2013-04-02 Thread Marwan Tanager
On Tue, Apr 02, 2013 at 09:45:44PM +0200, Sebastian Ramacher wrote: > On 2013-03-25 04:14:25, Marwan Tanager wrote: > > > Also, I remember, that I hit a mem-leak recently when working on a > > > poster made with LaTeX. I was recompiling the same page over and over > > > again with LaTeX and I the m

Re: [zathura] [Zathura PATCH] RFC

2013-04-02 Thread Sebastian Ramacher
On 2013-04-02 21:45:44, Sebastian Ramacher wrote: > > > Also, I thought a while ago, that zathura's rendering experience could > > > be even further enhanced by caching the pages, which have not been seen > > > yet. For example at one moment we see a row of pages and zathura caches > > > the row a

Re: [zathura] [Zathura PATCH] RFC

2013-04-02 Thread Sebastian Ramacher
On 2013-03-25 04:14:25, Marwan Tanager wrote: > > Also, I remember, that I hit a mem-leak recently when working on a > > poster made with LaTeX. I was recompiling the same page over and over > > again with LaTeX and I the memory consumption went very high. I was > > wondering if this is because zat

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Marwan Tanager
On Mon, Mar 25, 2013 at 04:09:45AM +0100, Sebastian Ramacher wrote: > On 2013-03-25 04:59:58, Marwan Tanager wrote: > > On Mon, Mar 25, 2013 at 03:53:06AM +0100, Sebastian Ramacher wrote: > > > On 2013-03-24 07:28:03, Marwan Tanager wrote: > > > > While browsing the bug tracker for related issues,

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Sebastian Ramacher
On 2013-03-25 04:59:58, Marwan Tanager wrote: > On Mon, Mar 25, 2013 at 03:53:06AM +0100, Sebastian Ramacher wrote: > > On 2013-03-24 07:28:03, Marwan Tanager wrote: > > > While browsing the bug tracker for related issues, I found the one at > > > http://bugs.pwmt.org/issue95 which points out the

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Marwan Tanager
On Mon, Mar 25, 2013 at 03:53:06AM +0100, Sebastian Ramacher wrote: > On 2013-03-24 07:28:03, Marwan Tanager wrote: > > While browsing the bug tracker for related issues, I found the one at > > http://bugs.pwmt.org/issue95 which points out the 0.0.8.5 version as not > > suffering from this proble

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Sebastian Ramacher
On 2013-03-24 07:28:03, Marwan Tanager wrote: > While browsing the bug tracker for related issues, I found the one at > http://bugs.pwmt.org/issue95 which points out the 0.0.8.5 version as not > suffering from this problem. I built it and experimented. The result was that > the total amount of m

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Marwan Tanager
On Sun, Mar 24, 2013 at 11:49:23PM +, Ignas Anikevičius wrote: > Hello, > > On 24/03/13 03:34:33 +0100, Sebastian Ramacher wrote: > > ... > > > > The code to destroy the cairo surfaces periodically is not optimal, but > > if it all, we should fix this portion of the code. Maybe a timing-based

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Ignas Anikevičius
Hello, On 24/03/13 03:34:33 +0100, Sebastian Ramacher wrote: > ... > > The code to destroy the cairo surfaces periodically is not optimal, but > if it all, we should fix this portion of the code. Maybe a timing-based > solution is not a good idea and there are better ways to approach this, > but

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Marwan Tanager
On Sun, Mar 24, 2013 at 03:34:33PM +0100, Sebastian Ramacher wrote: > On 2013-03-24 07:28:03, Marwan Tanager wrote: > > This patch tries to solve a serious problem with zathura leaking a > > horrendous > > amount of memory during scrolling through a document. > > > > The problem is that the curr

Re: [zathura] [Zathura PATCH] RFC

2013-03-24 Thread Sebastian Ramacher
On 2013-03-24 07:28:03, Marwan Tanager wrote: > This patch tries to solve a serious problem with zathura leaking a horrendous > amount of memory during scrolling through a document. > > The problem is that the current way of periodically reclaiming the cairo > surfaces of the pages widgets is no

[zathura] [Zathura PATCH] RFC

2013-03-23 Thread Marwan Tanager
This patch tries to solve a serious problem with zathura leaking a horrendous amount of memory during scrolling through a document. The problem is that the current way of periodically reclaiming the cairo surfaces of the pages widgets is not working at all. The only case in which it seems to wo