Hello,
I’m facing a weird behave when rebuilding the ovirt-engine rpm package.
When I run a rpmbuild -ba ovirt-engine.spec, it fails with the following error:
[ERROR] Out of memory; to increase the amount of memory
Also, it indicates the option -Xmx8192M in the pom.xml file.
The weird part is that building the application in the command line works fine but not in the rpmbuild, neither using a mock build system.
I checked this page
https://github.com/oVirt/ovirt-engine from GitHub and tested those variables with no success.
Can anyone point me where I can find how to use those variables when building the package or have experience building this package/application to explain it?
Thank you in advance for any help.
Regards,
Marcos