You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/14 08:14:47 UTC

[GitHub] [flink] pnowojski commented on a diff in pull request #19445: [FLINK-27209][build] Half the memory and double forkCount for running unit tests

pnowojski commented on code in PR #19445:
URL: https://github.com/apache/flink/pull/19445#discussion_r850197001


##########
pom.xml:
##########
@@ -95,13 +95,18 @@ under the License.
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 		<hadoop.version>2.8.5</hadoop.version>
+		<flink.XmxITCase>2048m</flink.XmxITCase>
+		<flink.XmxUnitTest>1024m</flink.XmxUnitTest>

Review Comment:
   My intention here was to have the memory and forkCount defined in one place, close to one another, as they are very tightly connected, to make this connection more obvious and easier to spot. So I would prefer to keep it as it is here. Also this way we reduce a chance that someone will copy out those hardcoded values somewhere else without thinking everything through introducing some subtle intermittent problems with build instability.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org