[Mono-devel-list] [Fwd: Memory allocation problem]

Paolo Molaro lupus at ximian.com
Mon May 17 13:02:06 EDT 2004


> From: Fredrik Hedberg <fredrik.hedberg at hedbergs.com>
> Subject: Memory allocation problem
> Date: Sun, 16 May 2004 13:01:01 +0200
> To: mono-list at lists.ximian.com
> X-Mailer: Ximian Evolution 1.4.6 
> 
> While running --profile (see attachment) on a mono application reading
> text into an odbc database, the total allocatde memory is reported as 44
> MB. In linux (i686) ps/top reports using about 700MB mem and swaps
> intensivly. 
> 
> Is this a problem with GC/mono or my application code? Does "--profile"
> not report memory consumption inside DllImported functions and top/ps
> does?

--profile only deals with managed memory. You may want to use memprof to
check for memory allocated with malloc.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list