Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Sven_K=F6hler?= Newsgroups: comp.lang.java.programmer Subject: Re: 32G ram Date: Wed, 19 Dec 2012 20:40:28 +0100 Lines: 21 Message-ID: References: <7f80256a-03d0-4ecd-b20f-164547e4f573@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de cxLzMP7qJ7+Xo0a7hZWQ3QHd6JfZphEEQPfst84Dd0RJK4FvC3RvnPFUv43ivV2RZx0/KaJ8OL Cancel-Lock: sha1:N2/cmzx6+1cg9wT4up6p4Jxx/8o= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <7f80256a-03d0-4ecd-b20f-164547e4f573@googlegroups.com> Xref: csiph.com comp.lang.java.programmer:20587 Am 17.12.2012 04:05, schrieb mcheung63@gmail.com: > hi all > i got 32GB ram, why i can't -Xmx2G, it got an error "Could not create the Java Virtual Machine" Well, because you decided not to run a 64Bit OS on your machine. > /root>free -m > total used free shared buffers cached > Mem: 32387 16973 15413 0 243 11906 > -/+ buffers/cache: 4823 27563 > Swap: 1906 0 1906 > /root>uname -a > Linux localhost.localdomain 3.6.9-2.fc17.i686.PAE #1 SMP Tue Dec 4 14:15:28 UTC 2012 i686 i686 i386 GNU/Linux Please install a 64Bit OS. That will get rid of the overhead that PAE causes and will allow individual processes (e.g. a virtual machine) to consume more than just a few gigs of memory. Regards, Sven