RE : RE : [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Ludo Brands
> On 15 Aug 2011, at 12:03, Ludo Brands wrote: > > > 100.00% (288,964,608B) (page allocation syscalls) mmap/mremap/brk, > > --alloc-fns, etc. > > ->37.20% (107,483,136B) 0x80C7DD3: > > ->SYSTEM_FPSYSCALL$LONGINT$LONGINT$$LONGINT > > (in /home/ludo/lazarus/lazarus) > > | ->37.20% (107,483,136B) 0

Re: RE : [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
On Mon, Aug 15, 2011 at 2:03 PM, Ludo Brands wrote: > ** > > > > if there's a common ancestor allocating something (let's call it NewBlock() > and it uses GetMem) and I have many descendants using this method, is there > a chance to find the "eater" amongst these descendants or massif tool will >

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-08-15 Thread Reinier Olislagers
On 15-8-2011 12:33, michael.vancann...@wisa.be wrote: > I applied the patch, thank you very much for this work :-). > > But please: > - Try to split patches in smaller chunks. It's better for bugfixing. > If you break something it's harder to track what caused the break with > these huge patch

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-08-15 Thread michael . vancanneyt
On Mon, 15 Aug 2011, Reinier Olislagers wrote: On 15-8-2011 11:44, Reinier Olislagers wrote: On 15-8-2011 11:25, Michael Van Canneyt wrote: I created a dataset with 2 fields. A ftString field with size 33, and a ftWideString field with size 44. Based on the following output from SaveToFile,

Re: RE : [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Jonas Maebe
On 15 Aug 2011, at 12:03, Ludo Brands wrote: > 100.00% (288,964,608B) (page allocation syscalls) mmap/mremap/brk, > --alloc-fns, etc. > ->37.20% (107,483,136B) 0x80C7DD3: SYSTEM_FPSYSCALL$LONGINT$LONGINT$$LONGINT > (in /home/ludo/lazarus/lazarus) > | ->37.20% (107,483,136B) 0x80C86DF: > SYSTEM_FP

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-08-15 Thread Reinier Olislagers
On 15-8-2011 11:44, Reinier Olislagers wrote: > On 15-8-2011 11:25, Michael Van Canneyt wrote: >> I created a dataset with 2 fields. A ftString field with size 33, and a >> ftWideString field with size 44. >> >> Based on the following output from SaveToFile, I would say that you'll >> need to put S

RE : [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Ludo Brands
if there's a common ancestor allocating something (let's call it NewBlock() and it uses GetMem) and I have many descendants using this method, is there a chance to find the "eater" amongst these descendants or massif tool will drop all the stats to NewBlock()? Max Here is part of the mas

Re: [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
On Mon, Aug 15, 2011 at 1:03 PM, Marco van de Voort wrote: > In our previous episode, Max Vlasov said: > > about collecting some statistics. > > > > The idea is similar to some disk utilities that collects and sort the > sizes > > of directories. You know when every folder on the computer is scan

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-08-15 Thread Reinier Olislagers
On 15-8-2011 11:25, Michael Van Canneyt wrote: > I created a dataset with 2 fields. A ftString field with size 33, and a > ftWideString field with size 44. > > Based on the following output from SaveToFile, I would say that you'll > need to put Size*SizeOf(CharTypeUsedInfield), which should be Dat

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-08-15 Thread Michael Van Canneyt
On Mon, 15 Aug 2011, Reinier Olislagers wrote: On 28-7-2011 9:24, michael.vancann...@wisa.be wrote: On Thu, 28 Jul 2011, Reinier Olislagers wrote: On 27-7-2011 20:52, michael.vancann...@wisa.be wrote: Code like ftWideString: //fixed length or at least max length string begin

RE : [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Ludo Brands
> In our previous episode, Max Vlasov said: > > about collecting some statistics. > > > > The idea is similar to some disk utilities that collects > and sort the > > sizes of directories. You know when every folder on the computer is > > scanned and all the resulting paths are sorted by the sum

Re: [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Marco van de Voort
In our previous episode, Max Vlasov said: > about collecting some statistics. > > The idea is similar to some disk utilities that collects and sort the sizes > of directories. You know when every folder on the computer is scanned and > all the resulting paths are sorted by the summed size. Such ut

Re: [fpc-pascal] Patch: new XML export for FCL-DB ready for inclusion, issue 19790 - includes Delphi Clientdataset

2011-08-15 Thread Reinier Olislagers
On 28-7-2011 9:24, michael.vancann...@wisa.be wrote: > On Thu, 28 Jul 2011, Reinier Olislagers wrote: >> On 27-7-2011 20:52, michael.vancann...@wisa.be wrote: >> Code like >> >> ftWideString: //fixed length or at least max length string >> begin >> TDOMElement(ColumnNode).SetAtt

[fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
Hi, reading the recent discussion about lazarus memory consumption, I thought about collecting some statistics. The idea is similar to some disk utilities that collects and sort the sizes of directories. You know when every folder on the computer is scanned and all the resulting paths are sorted b