Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2016 07:01:55 -0400
From:      Michael Jung <mikej@mikej.com>
To:        Willem@offermans.rompen.nl
Cc:        Matthias Andree <matthias.andree@gmx.de>, freebsd-ports@freebsd.org, owner-freebsd-ports@freebsd.org
Subject:   Re: Failure compiling java/openjdk8
Message-ID:  <95e1e82cea31617deb6718aebf0826ef@mail.mikej.com>
In-Reply-To: <20160428093017.GA30477@vpn.offrom.nl>
References:  <20160423100248.GA4742@vpn.offrom.nl> <571C8850.90604@gmx.de> <20160428093017.GA30477@vpn.offrom.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-04-28 05:30, Willem Offermans wrote:
> Dear Matthias and FreeBSD friends,
> 
> On Sun, Apr 24, 2016 at 10:48:16AM +0200, Matthias Andree wrote:
>> Am 23.04.2016 um 12:02 schrieb Willem Offermans:
>> > Dear FreeBSD friends,
>> >
>> > In my attempt to juvenile an old FreeBSD beast, I encountered another
>> > hurdle: a failure compiling java/openjdk8
>> >
>> > <snip>
>> > gmake[4]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
>> > gmake[4]: Entering directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
>> > Compiling 9455 files for BUILD_JDK
>> > Killed
>> > gmake[4]: *** [/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86-normal-server-release/jdk/classes/_the.BUILD_JDK_batch] Error 137
>> 
>> That Error 137 is "signal 9 (SIGKILL)" and added 128 for "core dump
>> requested". Typically an indication of a last-resort cleanup by the 
>> kernel.
>> 
>> Has the machine run out of memory during the compile?
>> 
>> Can you reduce the number of CPU cores used for the compile, in an
>> attempt to reduce RAM usage?
> 
> You were right about the memory usage during the compilation. The 
> system is
> an old one and has only 512 MB RAM and one CPU core. During compilation 
> of
> openjdk8 it run out of memory. The swap file, which is 512 MB as well, 
> was
> completely used. Shortly after this state was reached, the above error
> message appeared, but the system __did not__ freeze.
> 
> The bad part is that I cannot upgrade the old system totally. The good 
> part
> is that all other programs could be updated without any problem. Many 
> thnx
> to the good work of the FreeBSD community. I really appreciate this.
> 
> I like to test some things on this rejuvenated beast and probably I 
> don't
> need openjdk8 for that. So I can live with the situation. I only 
> announced
> it, so that other people do not run into the same situation. But who is
> running a FreeBSD system with 512 MB RAM nowadays anyway?
> 
> --
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gruessen,
> De jrus wah,
> 
> Will
> 
> *************************************
>  W.K. Offermans
> 
>                                        Powered by ....
> 
>                                             (__)
>                                          \\\'',)
>                                            \/  \ ^
>                                            .\._/_)
> 
>                                        www.FreeBSD.org
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to 
> "freebsd-ports-unsubscribe@freebsd.org"

If you really want to try and build it on that system and have some free 
disk
space you could always add a file instead of a partition as extra swap.

Instuctions here:

https://www.freebsd.org/doc/handbook/adding-swap-space.html

--mikej





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95e1e82cea31617deb6718aebf0826ef>