[Mono-bugs] [Bug 73882][Nor] Changed - Unable to allocate more than 1Gb of memory with mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 19 Mar 2005 12:32:27 -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.


--- shadow/73882	2005-03-19 11:28:38.000000000 -0500
+++ shadow/73882.tmp.10562	2005-03-19 12:32:27.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 73882
 Product: Mono: Runtime
 Version: 1.0
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: GC
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: vargaz@gmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -51,6 +51,17 @@
 The issue here is that libgc allocates memory using sbrk, and that seems
 to fail even if psychical memory is available. Perhaps USE_MMAP should be
 defined on linux ?
+------- Additional Comments From bmaurer@users.sf.net  2005-03-19 12:32 -------
+Maybe take a look at the tcmalloc from google (code.google.com):
+// Configuration parameters.
+// if use_devmem is true, either use_sbrk or use_mmap must also be true.
+// For 2.2 kernels, it looks like the sbrk address space (500MBish) and
+// the mmap address space (1300MBish) are disjoint, so we need both
+// to get as much virtual memory as possible.