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

Artem Ananiev artem.ananiev at oracle.com
Wed May 2 16:30:18 UTC 2012


On 4/27/2012 4:08 PM, Magnus Ihse Bursie wrote:
> 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.

With --with-num-cores=1 the build is much slower, but fails in the same 
place. --with-memory-size=1024 doesn't help as well...

Thanks,

Artem

> /Magnus



More information about the build-dev mailing list