Re: [fpc-pascal] Heap manager tuning

2014-08-09 Thread denisgolovan
> On 09/08/14 23:01, denisgolovan wrote: > > Try avoiding growing memory blocks small amounts at a time via > reallocmem or setlength, and instead grow them in bigger chuncks. This > will both increase the performance of your program and reduce the > internal memory fragmentation. > > Jonas I do

Re: [fpc-pascal] Heap manager tuning

2014-08-09 Thread Jonas Maebe
On 09/08/14 23:01, denisgolovan wrote: That allocation takes 10Gb+ under FPC heap manager. Further allocation becomes hardly possible (I have 16Gb on-board). Meanwhile, cmem allocates around 3Gb. So I can operate >3 times more object set. I am pretty sure I don't have any memory leaks (heaptr i

[fpc-pascal] Heap manager tuning

2014-08-09 Thread denisgolovan
Hi all I am trying to debug an issue that seems to be related to FPC heap manager. Test machine - Linux x64. It looks like really large memory "overhead" compared to cmem manager. Test load profile - 50 heavy objects with around 25 large (1Mb - 10Mb) dynamic arrays each. Those arrays are created

Re: [fpc-pascal] MigraterrrrRzr t ttt f bug tracker bugtracker

2014-08-09 Thread Tony Caduto
_2bt On Aug 5, 2014 2:37 AM, "Graeme Geldenhuys" wrote: > On 2014-08-04 08:21, Michael Van Canneyt wrote: > > Since 500 million records do not fit in memory, > > Time for a RAM upgrade. ;-) > > > Regards, > - Graeme - > > -- > fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal > htt

Re: [fpc-pascal] fphttpserver and concurrent connections

2014-08-09 Thread JB
Hi, I use fphttpserver in my project https://github.com/jbsolucoes/ceosmw. Now I'm changing server to use sockets to solve problem with concurrent connections and to use in bigger scale on a LAN. I'm using synapse with multithread, running tests and is very cool, support large users scale. Will s