[Mono-bugs] [Bug 46378][Nor] Changed - Add MemoryStream that points to memory.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 29 Jul 2003 01:48:01 -0400 (EDT)
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=46378
--- shadow/46378 Tue Jul 15 12:07:31 2003
+++ shadow/46378.tmp.19241 Tue Jul 29 01:48:01 2003
@@ -69,6 +69,15 @@
The data gets eventually collected (the memory is never returned to
the OS, as a collect wont reduce the RSS, but the memory is free: if
you allocate 8 megs of data after the collect, the RSS will stay the
same).
+
+------- Additional Comments From miguel@ximian.com 2003-07-29 01:48 -------
+I have a patch that implements my proposed solution.
+
+With the patch, now the stream is backed by mmap, and only those
+pieces touched are loaded into memory, and the OS can discard the code
+in memory if it needs the space. No copies are done of the data.
+
+