Subject: Re: kern/32769: Linux emulation doesn't support mmap with
To: None <netbsd-bugs@netbsd.org>
From: Rui Paulo <rpaulo@fnop.net>
List: netbsd-bugs
Date: 02/08/2006 01:07:39
Brian de Alwis <bsd@cs.ubc.ca> writes:

>>Number:         32769
>>Category:       kern
>>Synopsis:       Linux emulation doesn't support mmap with MAP_NORESERVE
>>Confidential:   no
>>Severity:       critical
>>Priority:       low
>>Responsible:    kern-bug-people
>>State:          open
>>Class:          sw-bug
>>Submitter-Id:   net
>>Arrival-Date:   Tue Feb 07 20:15:00 +0000 2006
>>Originator:     Brian de Alwis
>>Release:        NetBSD 3.0_STABLE
>>Organization:
>   Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
>>Environment:
> System: NetBSD slab 3.0_STABLE NetBSD 3.0_STABLE (SLAB) #18: Mon Jan 30 13:38:11 PST 2006 bsd@slab:/usr/src/src-3.0/sys/arch/i386/compile/SLAB i386
> Architecture: i386
> Machine: i386
>
> Also tried a kernel from -current compiled from yesterday's tar_files,
> to no avail.
>>Description:
>
> I'm unable to get BEA's JRockit 5 to run on NetBSD/i386 3.0 as its
> applications fail with memory errors:
>
>     $ ktrace /usr/local/installs/JRockit5-R26/bin/jar
>     [JRockit] ERROR:  Fatal error in JRockit during memory setup phase.
>     Try to reduce the heap size using -Xmx:<size>m, i.e. "-Xmx:16m".
>     Could not create the Java virtual machine.

You didn't mention it, so I need to ask: did you unlimit your datasize ?

-- 
Rui Paulo - rpaulo@fnop.net