[Mono-bugs] [Bug 46385][Min] Changed - Adding resources consumes too much memory.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 19 Jan 2004 16:32:26 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=46385

--- shadow/46385	2004-01-19 07:14:35.000000000 -0500
+++ shadow/46385.tmp.10029	2004-01-19 16:32:26.000000000 -0500
@@ -23,6 +23,21 @@
 when MCS was using 370 megs of ram.
 
 Miguel.
 
 ------- Additional Comments From vargaz@freemail.hu  2004-01-19 07:14 -------
 Miguel, is this bug still relevant ?
+
+------- Additional Comments From miguel@ximian.com  2004-01-19 16:32 -------
+Memory has been reduced to 202 megs for attaching a 64 meg file.
+
+To replicate do:
+
+dd if=/dev/zero of=megs bs=1024 count=65536 
+echo 'class X { static void Main () {} }' > a.cs
+mcs --pause a.cs -resource:megs
+mcs --pause a.cs
+
+Compare the two with `top'.
+
+The savings are considerable from the last time (100 megs less),
+so am not sure if we need to do anything more.