Date: Tue, 19 Aug 2008 02:42:28 +0700 From: Sharkie <shark.fin.soup@mac.com> To: freebsd-java@freebsd.org Cc: Kees Jan Koster <kjkoster@kjkoster.org> Subject: Re: Why cannot I allocate more than -Xmx700M Message-ID: <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> In-Reply-To: <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org>
next in thread | previous in thread | raw e-mail | index | archive | help
It's very odd that I have been getting this error. %/usr/local/jruby/bin/jruby -J-Xmx1000M --server /usr/local/bin/ glassfish_rails /home/www/app Error occurred during initialization of VM Could not reserve enough space for object heap # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x88102a19, pid=3183, tid=0x8103200 # # Java VM: Diablo Java HotSpot(TM) Server VM (10.0-b23 mixed mode bsd- x86) # Problematic frame: # C [libc.so.7+0x62a19] free+0x49 # # An error report file with more information is saved as: # /home/www/hs_err_pid3183.log # # Please submit bug reports to freebsd-java@FreeBSD.org # Abort (core dumped) On Aug 19, 2008, at 1:36 AM, Kees Jan Koster wrote: > Dear Sharkie, > >> My machine does have more than 700M available when I try to start >> my Java app, but I could only do at most 700M. > > What error did you get when you tried it? > >> Is there an artificial limit or something that I cannot see here? I >> have 1506M remaining, which I cannot use in this single java app? > > I should not think so. > -- > Kees Jan > > http://java-monitor.com/forum/ > kjkoster@kjkoster.org > 06-51838192 > > Rule 1 for being in a hole: stop digging. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B413A97-AC11-4FD4-9BD5-40CC21593488>