I replaced call of 'malloc' in 'caml_alloc_for_heap' function to mmap, and
'free' in 'caml_free_for_heap' to unmap. Unused memory is freed after
Gc.compaction.
On Sat, Apr 21, 2012 at 11:26 AM, ri...@happyleptic.org wrote:
There is a commit dating from a few days ago that might
be related to
Hi!
We have developped a daemon on ocaml using the lwt lib(libev). It processes
about 800 requests per second, but it increases to 2 Gb in memory for a
hour of work. We have studied the problem for a long time, using mtrace,
mallinfo and other tools, and we tried to change GC params. We found out
On 04/20/2012 06:12 PM, SerP wrote:
Hi!
We have developped a daemon on ocaml using the lwt lib(libev). It processes
about 800 requests per second, but it increases to 2 Gb in memory for a hour
of work. We have studied the problem for a long
time, using mtrace, mallinfo and other tools,
and
On Fri, 20 Apr 2012 19:12:12 +0400
SerP serp...@gmail.com wrote:
Hi!
We have developped a daemon on ocaml using the lwt lib(libev). It processes
about 800 requests per second, but it increases to 2 Gb in memory for a
hour of work. We have studied the problem for a long time, using mtrace,