This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: VM Could not reserve enough space
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "news.gmane.org" <webcoop at uvic dot ca>
- Cc: cygwin at cygwin dot com
- Date: Fri, 5 Mar 2004 11:37:07 -0500 (EST)
- Subject: Re: VM Could not reserve enough space
- References: <c2a9sd$sge$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/