Recipe for building Java program fails due to memory limits

Asked by Will Shackleton

I'm running builds for my program 'patchworker' using the bazaar recipe system, but some of the builds are failing when the dependencies are installed.

During the setup of ca-certificates-java the package installation fails, likely due to a memoy restriction; java can't allocate enough heap space:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
(From https://launchpadlibrarian.net/88141845/buildlog.txt.gz )

This sometimes doesn't happen, perhaps because some build targets have larger memory caps?

This is the recipe I'm using:
https://code.launchpad.net/~w-shackleton/+recipe/patchworker

Any ideas on what to do?
Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Julian Edwards (julian-edwards) said :
#1

Hello - this is a known issue, please see the linked bug.

Can you help with this problem?

Provide an answer of your own, or ask Will Shackleton for more information if necessary.

To post a message you must log in.