First build-infra push to jdk8 -- try out the new build system!

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Apr 27 12:08:42 UTC 2012


On 2012-04-27 12:57, Artem Ananiev wrote:
>
> On 4/27/2012 2:46 PM, David Holmes wrote:
>> Could it be that the parallelism of the new build is simply too high for
>> your system - hence you get memory exhaustion?
>
> Yes, that's possible, because my desktop has 4Gb RAM. Number of CPU 
> cores is only 2, though, so it's not massively parallel. I'm now 
> building in 32-bit mode, will check if it helps.

Try running configure with --with-num-cores=1 to disable parallel builds.
You can also try reducing memory usage by setting 
--with-memory-size=1024 (=1 GB) or some other number; I'm not sure 
though on exactly in what parts of the build that number is respected, 
though.

/Magnus



More information about the build-dev mailing list