win7 jdk 8 build : fork: retry: Resource temporarily unavailable

Erik Joelsson erik.joelsson at oracle.com
Thu Aug 22 08:12:56 UTC 2013


"fork: retry: Resource temporarily unavailable" is a classic cygwin 
problem. I don't think it's related to amount of memory used. One thing 
you can try is rebaseall described here: 
http://cygwin.wikia.com/wiki/Rebaseall. It sometimes helps.

/Erik

On 2013-08-21 20:56, Phil Race wrote:
> My Win 7 x 64 showed it had approx 2GB (out of 6GB) memory free when I 
> got this message
> doing an incremental build :-
>
> ## Starting langtools
> /cygdrive/c/jdks/jdk8_2d/common/bin/logger.sh: fork: retry: Resource 
> temporarily unavailable
> /cygdrive/c/jdks/jdk8_2d/common/bin/logger.sh: fork: retry: Resource 
> temporarily unavailable
> /cygdrive/c/jdks/jdk8_2d/common/bin/logger.sh: fork: retry: Resource 
> temporarily unavailable
> /cygdrive/c/jdks/jdk8_2d/common/bin/logger.sh: fork: retry: Resource 
> temporarily unavailable
> /cygdrive/c/jdks/jdk8_2d/common/bin/logger.sh: fork: Resource 
> temporarily unavailable
> make: *** [langtools-only] Error 254
>
> I wonder if something like this is responsible for full builds often 
> needing several tries to
> complete as well, even though the errors there seem somewhat random.
> If you see below, the build has decided it might use up to 4Gb (if I 
> read this right)
> which seems  like a lot for a system with only(!) 6GB RAM. But surely 
> it would not
> hit this limit right at the outset ?
>
> Build config info follows. Its an 8 core Xeon processor ..
>
> Configuration summary:
> * Debug level:    release
> * JDK variant:    normal
> * JVM variants:   server,client
> * OpenJDK target: OS: windows, CPU architecture: x86, address length: 32
>
> Tools summary:
> * Environment:    cygwin version 1.7.8(0.236/5/3) (root at 
> /cygdrive/c/cygwin)
> * Boot JDK:       java version "1.7.0_40-ea"  Java(TM) SE Runtime 
> Environment (build 1.7.0_40-ea-b35)  Java HotSpot(TM) 64-Bit Server VM 
> (build 24.0-b54, mixed mode)   (at /cygdrive/c/progra~1/java/jdk17~1.0_4)
> * C Compiler:     Microsoft CL.EXE version 16.00.40219.01 (at 
> /cygdrive/c/vs2010/VC/BIN/cl)
> * C++ Compiler:   Microsoft CL.EXE version 16.00.40219.01 (at 
> /cygdrive/c/vs2010/VC/BIN/cl)
>
> Build performance summary:
> * Cores to use:   3
> * Memory limit:   4095 MB
> * ccache status:  not available for your system
>
> -phil.
>
>



More information about the build-dev mailing list