[Mono-bugs] [Bug 72605][Wis] Changed - NullReferenceException, GdiPlus and rsh problem
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 16 Feb 2005 10:42:25 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=72605
--- shadow/72605 2005-02-16 10:23:33.000000000 -0500
+++ shadow/72605.tmp.10899 2005-02-16 10:42:25.000000000 -0500
@@ -513,6 +513,20 @@
------- Additional Comments From Yury@serdyuk.botik.ru 2005-02-16 08:48 -------
When we are running 64 processes,
we are using ~ 250 Mb from 1 GB RAM.
Please see attached e2.log of gdb session.
+
+------- Additional Comments From bmaurer@users.sf.net 2005-02-16 10:42 -------
+If this is an OOM problem, here is why it is happening: the gc does
+not know about the memory you allocate using malloc. So, it doesn't
+realize `hey, I need to do a gc to free unmanaged memory'. Relying on
+the GC to free unmanaged memory with finalizers is *not* a good idea.
+You really need to call Dispose. OOM only comes from gc allocations,
+not from standard malloc.
+
+Does your rsh have some sort of ulimit attached? Does the problem go
+away if you call Dipsose?
+
+Can you try a similar test case that just malloc's a similar amount
+of memory to what you are doing?