javac is OOM while trying to build package 'stanford-corenlp'

Asked by Vasily Kulikov

I try to build a huge Java package, stanford corenlp. jh_build tries to run javac, which fails with "The system is out of resources.' error.
Is it possible to request more builder resources for this specific package?

The buildlog:
https://launchpadlibrarian.net/193214620/buildlog_ubuntu-precise-i386.stanford-corenlp_3.5.0-0segoon8_FAILEDTOBUILD.txt.gz

The package:
https://launchpad.net/~segooon/+archive/ubuntu/nlp/+sourcepub/4632415/+listing-archive-extra

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Vasily Kulikov
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Vasily Kulikov (segooon) said :
#2

Bumped. I still need CoreNLP package.

Revision history for this message
William Grant (wgrant) said :
#3

From the build log:

  jh_build [... snip ...] -J-Xms256m -J-Xmx256m

Your debian/rules, or something that it invokes, is restricting the Java heap to 256MiB, despite the builder having 8GiB of RAM. It's a bug in your package or one of its dependencies.

Revision history for this message
Vasily Kulikov (segooon) said :
#4

Actually, the error is related to -J-Xss (stack), not to heap. I've passed -J-Xss2m to jh_build and the package was built successfully. Anyway it was my fault, not launchpad's. Thank you!