Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 5 Mar 2004 11:37:07 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "news.gmane.org" cc: cygwin AT cygwin DOT com Subject: Re: VM Could not reserve enough space In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Fri, 5 Mar 2004, news.gmane.org wrote: > When running a java application in CYGWIN I get the following error: > > "Error occurred during initialization of VM Could not reserve enough > space for object heap " > > I have set the maximum memory to 4 gigs using these instruction: > http://cygwin.com/cygwin-ug-net/setup-maxmem.html > > This does not solve the problem. > > Does anyone know why I would get this error? Is it a problem between java > for windows and CYGWIN? > > I'm running an Athlon 2800 with 512MB of ram on Win2000. > > Thanks in advance > Dave Dave, There is no JVM under Cygwin, so any JVM you're going to run will be a Windows program and will ignore the heap_chunk_in_mb setting (I'm assuming you're not running 'gcj', as you said "java for windows"). Do you get the same problem when running from a cmd.exe window? If yes, then it's a Java problem and off-topic for this list. If you only get this when running from a Cygwin program, please review > Problem reports: http://cygwin.com/problems.html and post a proper problem report. It would also help to know the version of Java that you're attempting to run and the exact command line. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/