Re: Some small memory leaks ..

2001-03-08 Thread Henner Zeller
HI, update: Lars, looks good now in current CVS - the only leak left, as you noted is the following - and yes, it is not easy to fix. | #-- Leak: counted 19x / total Size: 224 | 0x80c09f3 is in flyx_ident_extract(char const *) (lyx_gui_misc.C:209). | 208 | 209 char * sb =

Re: Some small memory leaks ..

2001-03-08 Thread Jean-Marc Lasgouttes
"Henner" == Henner Zeller [EMAIL PROTECTED] writes: Henner HI, update: Lars, looks good now in current CVS - the only Henner leak left, as you noted is the following - and yes, it is not Henner easy to fix. And if you load a file? JMarc

Re: Some small memory leaks ..

2001-03-08 Thread Henner Zeller
Hi, On 8 Mar 2001, Jean-Marc Lasgouttes wrote: | And if you load a file? ~/bin/LeakCheck ./src/lyx -x lyx-quit /usr/share/lyx/doc/UserGuide.lyx yields, ahem, several (425) leaks at 39 different places (total 25716 Bytes), but only in the formula stuff which is currenly worked on, so expected

Re: Some small memory leaks ..

2001-03-08 Thread Jean-Marc Lasgouttes
"Henner" == Henner Zeller [EMAIL PROTECTED] writes: Henner yields, ahem, several (425) leaks at 39 different places Henner (total 25716 Bytes), but only in the formula stuff which is Henner currenly worked on, so expected to be fixed someday. Other Henner than that: look pretty good! That's

Re: Some small memory leaks ..

2001-03-08 Thread Henner Zeller
Hi, Update.. On Thu, 8 Mar 2001, Henner Zeller wrote: HZ| yields, ahem, several (425) leaks at 39 different places (total 25716 HZ| Bytes), for overall 2'272'211 allocations in LyX and maximum memory used in parallel 760 kBytes this is a not too bad ratio :-/ ciao, -hen

Re: Some small memory leaks ..

2001-03-08 Thread Andre Poenitz
yields, ahem, several (425) leaks at 39 different places (total 25716 Bytes), but only in the formula stuff which is currenly worked on, so expected to be fixed someday. We are currently not doing _any_ clean up when destroying a MathedArray. except the release of the vector itself. The

Re: Some small memory leaks ..

2001-03-08 Thread Lars Gullik Bjønnes
Henner Zeller [EMAIL PROTECTED] writes: | Hi, | On 8 Mar 2001, Jean-Marc Lasgouttes wrote: | | And if you load a file? | | ~/bin/LeakCheck ./src/lyx -x lyx-quit /usr/share/lyx/doc/UserGuide.lyx | | yields, ahem, several (425) leaks at 39 different places (total 25716 | Bytes), but only in the

Re: Some small memory leaks ..

2001-03-08 Thread Henner Zeller
HI, update: Lars, looks good now in current CVS - the only leak left, as you noted is the following - and yes, it is not easy to fix. | #-- Leak: counted 19x / total Size: 224 | 0x80c09f3 is in flyx_ident_extract(char const *) (lyx_gui_misc.C:209). | 208 | 209 char * sb =

Re: Some small memory leaks ..

2001-03-08 Thread Jean-Marc Lasgouttes
> "Henner" == Henner Zeller <[EMAIL PROTECTED]> writes: Henner> HI, update: Lars, looks good now in current CVS - the only Henner> leak left, as you noted is the following - and yes, it is not Henner> easy to fix. And if you load a file? JMarc

Re: Some small memory leaks ..

2001-03-08 Thread Henner Zeller
Hi, On 8 Mar 2001, Jean-Marc Lasgouttes wrote: | And if you load a file? ~/bin/LeakCheck ./src/lyx -x lyx-quit /usr/share/lyx/doc/UserGuide.lyx yields, ahem, several (425) leaks at 39 different places (total 25716 Bytes), but only in the formula stuff which is currenly worked on, so expected

Re: Some small memory leaks ..

2001-03-08 Thread Jean-Marc Lasgouttes
> "Henner" == Henner Zeller <[EMAIL PROTECTED]> writes: Henner> yields, ahem, several (425) leaks at 39 different places Henner> (total 25716 Bytes), but only in the formula stuff which is Henner> currenly worked on, so expected to be fixed someday. Other Henner> than that: look pretty good!

Re: Some small memory leaks ..

2001-03-08 Thread Henner Zeller
Hi, Update.. On Thu, 8 Mar 2001, Henner Zeller wrote: HZ| yields, ahem, several (425) leaks at 39 different places (total 25716 HZ| Bytes), for overall 2'272'211 allocations in LyX and maximum memory used in parallel 760 kBytes this is a not too bad ratio :-/ ciao, -hen

Re: Some small memory leaks ..

2001-03-08 Thread Andre Poenitz
> yields, ahem, several (425) leaks at 39 different places (total 25716 > Bytes), but only in the formula stuff which is currenly worked on, so > expected to be fixed someday. We are currently not doing _any_ clean up when destroying a MathedArray. except the release of the vector itself. The

Re: Some small memory leaks ..

2001-03-08 Thread Lars Gullik Bjønnes
Henner Zeller <[EMAIL PROTECTED]> writes: | Hi, | On 8 Mar 2001, Jean-Marc Lasgouttes wrote: | | And if you load a file? | | ~/bin/LeakCheck ./src/lyx -x lyx-quit /usr/share/lyx/doc/UserGuide.lyx | | yields, ahem, several (425) leaks at 39 different places (total 25716 | Bytes), but only in

Re: Some small memory leaks ..

2001-03-07 Thread Lars Gullik Bjønnes
Henner Zeller [EMAIL PROTECTED] writes: | Anyway, I just have a small note: I was curious and looked for memory | leaks using the LeakTracer by Erwin Andreasen Can you redo this now with current cvs? I belive that most of them should be fixed now. (I know there are some I did not fix...)

Re: Some small memory leaks ..

2001-03-07 Thread Henner Zeller
HI, On 7 Mar 2001, Lars Gullik Bjnnes wrote: LGBn| Can you redo this now with current cvs? I belive that most of them LGBn| should be fixed now. (I know there are some I did not fix...) Starting and stopping an empty lyx now causes only 852 Bytes memory leak; The last thing is interesting:

Re: Some small memory leaks ..

2001-03-07 Thread Lars Gullik Bjønnes
Henner Zeller [EMAIL PROTECTED] writes: | HI, | On 7 Mar 2001, Lars Gullik Bjnnes wrote: | LGBn| Can you redo this now with current cvs? I belive that most of them | LGBn| should be fixed now. (I know there are some I did not fix...) | | Starting and stopping an empty lyx now causes only 852

Re: Some small memory leaks ..

2001-03-07 Thread Lars Gullik Bjønnes
Henner Zeller <[EMAIL PROTECTED]> writes: | Anyway, I just have a small note: I was curious and looked for memory | leaks using the LeakTracer by Erwin Andreasen Can you redo this now with current cvs? I belive that most of them should be fixed now. (I know there are some I did not fix...)

Re: Some small memory leaks ..

2001-03-07 Thread Henner Zeller
HI, On 7 Mar 2001, Lars Gullik Bjønnes wrote: LGBn| Can you redo this now with current cvs? I belive that most of them LGBn| should be fixed now. (I know there are some I did not fix...) Starting and stopping an empty lyx now causes only 852 Bytes memory leak; The last thing is interesting:

Re: Some small memory leaks ..

2001-03-07 Thread Lars Gullik Bjønnes
Henner Zeller <[EMAIL PROTECTED]> writes: | HI, | On 7 Mar 2001, Lars Gullik Bjønnes wrote: | LGBn| Can you redo this now with current cvs? I belive that most of them | LGBn| should be fixed now. (I know there are some I did not fix...) | | Starting and stopping an empty lyx now causes only 852

Re: Some small memory leaks ..

2001-03-06 Thread Andre Poenitz
Anyway, I just have a small note: I was curious and looked for memory leaks using the LeakTracer by Erwin Andreasen (http://www.andreasen.org/LeakTracer/) and found some small leaks where memory is not freed on exit of the program (which is probably ok, depending on mentality) which I fixed

Re: Some small memory leaks ..

2001-03-06 Thread Lars Gullik Bjønnes
Henner Zeller [EMAIL PROTECTED] writes: | Hi, | For writing my diploma thesis, I remembered the lyx project .. and am now | using it ;-) Sure I remember you. | Maybe I'll have some time to notice usability issues or bugs and fix | them; what I've seen so far is, that lyx developed great in the

Re: Some small memory leaks ..

2001-03-06 Thread Andre Poenitz
> Anyway, I just have a small note: I was curious and looked for memory > leaks using the LeakTracer by Erwin Andreasen > () and found some small leaks where > memory is not freed on exit of the program (which is probably ok, > depending on mentality) which I

Re: Some small memory leaks ..

2001-03-06 Thread Lars Gullik Bjønnes
Henner Zeller <[EMAIL PROTECTED]> writes: | Hi, | For writing my diploma thesis, I remembered the lyx project .. and am now | using it ;-) Sure I remember you. | Maybe I'll have some time to notice usability issues or bugs and fix | them; what I've seen so far is, that lyx developed great in