Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61948 - Maven: Xmx (maximum Java heap size) seems outdated

Attached to Project: Community Packages
Opened by Fabian Stäber (fstab) - Friday, 08 March 2019, 08:28 GMT
Last edited by Levente Polyak (anthraxx) - Wednesday, 22 May 2019, 14:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


I was asked in the forum to file this as a bug report:

I am a Java developer who recently switched to Arch Linux. I love my new Arch system, but I often experience failures in Maven builds with "out of memory" errors.

After some research I found the reason: The Arch Linux maven package installs an additional file restricting the Maven memory to 512M ( … ages/maven).

This seems like an outdated setting in 2019. From the SVN history it seems it has been there since the initial commit of the package 10 years ago.

Could you remove this?

This task depends upon

Closed by  Levente Polyak (anthraxx)
Wednesday, 22 May 2019, 14:13 GMT
Reason for closing:  Implemented
Additional comments about closing:  1.10.6-1
Comment by Dan Ziemba (zman0900) - Friday, 15 March 2019, 02:52 GMT
I agree. Setting MAVEN_OPTS like this overrides the per-project setting in <project>/.mvn/jvm.config, which makes for some very confusing problems.