From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 2 Nov 2012 05:19:47 -0700 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20121102121947.GA938@dinah> References: <3816729a-a9d5-4f63-9850-c7247edae37e@c16g2000yqe.googlegroups.com> <21fae63d-964e-4262-ac1b-51158584d65b@x21g2000vbg.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21fae63d-964e-4262-ac1b-51158584d65b@x21g2000vbg.googlegroups.com> Subject: Re: [9fans] Kernel panic when compiling Go on native Plan 9 Topicbox-Message-UUID: cfb4e11e-ead7-11e9-9d60-3106f5b1d025 Pavel Klinkovsky once said: > I made another test. > I compared compilation of exp/locale/collate of the Go build 14738 and > 14739 (and later). > > Compilation of 14738 does not consume RAM a lot. > Compilation of 14739 (and later) consume a huge amount of RAM > (involving swap). > > So it seems the Plan 9 has a problem with the virtual memory > management (when using swap), IMO. How much memory does your system have? Changeset 14739 grew the Unicode collation tables in the exp/locale/collate package by a considerable amount. The compiler's memory usage now goes above 400 MB when building that package, almost 2.5x the amount used to compile the second heavyweight and 15x the average. Anthony