Open Bug 1990532 Opened 11 months ago Updated 10 months ago

Gradle tasks randomly fail with OutOfMemoryError on Fedora toolbox

Categories

(Firefox Build System :: Android Studio and Gradle Integration, task, P5)

task

Tracking

(Not tracked)

People

(Reporter: saschanaz, Unassigned)

References

Details

Something is off, I tried to investigate and gave up, so just logging for now. Per the system monitor the memory usage never goes up anywhere above 38GB out of total 64GB memory.

> ./mach build;./mach android install-fenix
 0:00.39 W Clobber not needed.
 0:00.61 W Adding make options from /var/home/krosylight/Documents/dev/firefox/mozconfig-android
    AUTOCLOBBER=1
    MOZ_OBJDIR=/var/home/krosylight/Documents/dev/firefox/obj-x86_64-unknown-linux-android
    OBJDIR=/var/home/krosylight/Documents/dev/firefox/obj-x86_64-unknown-linux-android
    FOUND_MOZCONFIG=/var/home/krosylight/Documents/dev/firefox/mozconfig-android
    export FOUND_MOZCONFIG
  Parallelism determined by memory: using 63 jobs for 64 cores based on 62.6 GiB RAM and estimated job size of 1.0 GiB
 0:00.61 /usr/bin/gmake -f client.mk -j63 -s
 0:01.22 ./generated_geckoview_files.stub
 0:01.88  0:00.27 /var/home/krosylight/Documents/dev/firefox/gradlew geckoview:generateJNIWrappersForGeneratedDebug geckoview:generateSDKBindings '-Pgenerate_sdk_bindings_args=/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AccessibilityEvent-classes.txt;AccessibilityEvent;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AndroidBuild-classes.txt;AndroidBuild;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AndroidDragEvent-classes.txt;AndroidDragEvent;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AndroidGraphics-classes.txt;AndroidGraphics;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AndroidInputType-classes.txt;AndroidInputType;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AndroidProcess-classes.txt;AndroidProcess;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/AndroidRect-classes.txt;AndroidRect;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/InetAddress-classes.txt;InetAddress;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/JavaBuiltins-classes.txt;JavaBuiltins;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/JavaExceptions-classes.txt;JavaExceptions;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/KeyEvent-classes.txt;KeyEvent;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/MediaCodec-classes.txt;MediaCodec;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/MotionEvent-classes.txt;MotionEvent;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/SurfaceTexture-classes.txt;SurfaceTexture;/var/home/krosylight/Documents/dev/firefox/widget/android/bindings/ViewConfiguration-classes.txt;ViewConfiguration'
 0:01.89 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8
 0:05.41 Starting a Gradle Daemon, 3 busy and 5 stopped Daemons could not be reused, use --status for details
 0:06.61 Configuration on demand is an incubating feature.
 0:08.61 Reusing configuration cache.
 0:09.81 > Task :exoplayer2:preBuild UP-TO-DATE
 0:09.82 > Task :geckoview:checkKotlinGradlePluginConfigurationErrors SKIPPED
 0:09.82 > Task :exoplayer2:preDebugBuild UP-TO-DATE
 0:09.91 > Task :annotations:processResources NO-SOURCE
 0:09.91 > Task :verifyGleanVersion UP-TO-DATE
 0:09.91 > Task :geckoview:preBuild UP-TO-DATE
 0:09.91 > Task :geckoview:preDebugBuild UP-TO-DATE
 0:09.91 > Task :exoplayer2:generateDebugResValues UP-TO-DATE
 0:09.92 > Task :exoplayer2:processDebugNavigationResources UP-TO-DATE
 0:09.92 > Task :exoplayer2:javaPreCompileDebug UP-TO-DATE
 0:09.92 > Task :annotations:compileJava UP-TO-DATE
 0:09.92 > Task :annotations:classes UP-TO-DATE
 0:09.92 > Task :geckoview:generateDebugResValues UP-TO-DATE
 0:09.92 > Task :geckoview:javaPreCompileDebug UP-TO-DATE
 0:09.92 > Task :exoplayer2:generateDebugResources UP-TO-DATE
 0:09.92 > Task :geckoview:processDebugNavigationResources UP-TO-DATE
 0:09.92 > Task :geckoview:generateDebugBuildConfig UP-TO-DATE
 0:09.92 > Task :geckoview:generateDebugResources UP-TO-DATE
 0:09.92 > Task :annotations:jar UP-TO-DATE
 0:09.92 > Task :exoplayer2:packageDebugResources UP-TO-DATE
 0:09.92 > Task :geckoview:packageDebugResources UP-TO-DATE
 0:09.92 > Task :geckoview:generateSDKBindings UP-TO-DATE
 0:10.01 > Task :exoplayer2:parseDebugLocalResources UP-TO-DATE
 0:10.01 > Task :geckoview:parseDebugLocalResources UP-TO-DATE
 0:10.02 > Task :exoplayer2:generateDebugRFile UP-TO-DATE
 0:10.03 > Task :geckoview:generateDebugRFile UP-TO-DATE
 0:10.11 > Task :exoplayer2:compileDebugJavaWithJavac UP-TO-DATE
 0:10.11 > Task :exoplayer2:bundleLibCompileToJarDebug UP-TO-DATE
 0:10.41 > Task :geckoview:compileDebugAidl UP-TO-DATE
 0:10.41 > Task :geckoview:compileDebugKotlin NO-SOURCE
 0:10.51 > Task :geckoview:compileDebugJavaWithJavac UP-TO-DATE
 0:10.51 > Task :geckoview:bundleLibRuntimeToJarDebug UP-TO-DATE
 0:10.52 > Task :geckoview:generateJNIWrappersForGeneratedDebug UP-TO-DATE
 0:10.59 BUILD SUCCESSFUL in 8s
 0:10.59 25 actionable tasks: 25 up-to-date
 0:10.59 Configuration cache entry reused.
 0:11.94 toolkit/library/buildid.cpp.stub
 0:12.38 ./built_in_addons.json.stub
 0:14.03 Generating XPT artifacts archive (fennec-145.0a1.en-US.android-x86_64.xpt_artifacts.zip)
 0:14.77 /var/home/krosylight/Documents/dev/firefox/gradlew geckoview:assembleDebug geckoview:assembleDebugAndroidTest messaging_example:assembleDebug port_messaging_example:assembleDebug geckoview:publishDebugPublicationToMavenRepository exoplayer2:publishDebugPublicationToMavenRepository test_runner:assembleDebug geckoview_example:assembleDebug test_runner:bundleDebug geckoview_example:bundleDebug
 0:14.78 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8
 0:15.31 Configuration on demand is an incubating feature.
 0:16.11 Reusing configuration cache.
 0:16.51 > Task :exoplayer2:preBuild UP-TO-DATE
 0:16.51 > Task :geckoview:checkKotlinGradlePluginConfigurationErrors SKIPPED
 0:16.51 > Task :exoplayer2:preDebugBuild UP-TO-DATE
 0:16.51 > Task :verifyGleanVersion UP-TO-DATE
 0:16.52 > Task :geckoview:preBuild UP-TO-DATE
 0:16.52 > Task :geckoview:preDebugBuild UP-TO-DATE
 0:16.52 > Task :geckoview:preDebugAndroidTestBuild UP-TO-DATE
 0:16.52 > Task :exoplayer2:generateDebugResValues UP-TO-DATE
 0:16.52 > Task :geckoview:javaPreCompileDebug UP-TO-DATE
 0:16.52 > Task :geckoview:generateDebugResValues UP-TO-DATE
 0:16.53 > Task :exoplayer2:javaPreCompileDebug UP-TO-DATE
 0:16.53 > Task :geckoview:processDebugNavigationResources UP-TO-DATE
 0:16.53 > Task :geckoview:generateDebugBuildConfig UP-TO-DATE
 0:16.53 > Task :geckoview:generateDebugResources UP-TO-DATE
 0:16.53 > Task :exoplayer2:processDebugNavigationResources UP-TO-DATE
 0:16.53 > Task :exoplayer2:generateDebugResources UP-TO-DATE
 0:16.54 > Task :geckoview:packageDebugResources UP-TO-DATE
 0:16.54 > Task :exoplayer2:packageDebugResources UP-TO-DATE
 0:16.54 > Task :exoplayer2:writeDebugAarMetadata UP-TO-DATE
 0:16.54 > Task :geckoview:writeDebugAarMetadata UP-TO-DATE
 0:16.54 > Task :geckoview:generateDebugAndroidTestResValues UP-TO-DATE
 0:16.54 > Task :geckoview:mergeDebugShaders UP-TO-DATE
 0:16.54 > Task :geckoview:parseDebugLocalResources UP-TO-DATE
 0:16.54 > Task :exoplayer2:mergeDebugShaders UP-TO-DATE
 0:16.54 > Task :geckoview:mergeDebugAndroidTestShaders UP-TO-DATE
 0:16.54 > Task :geckoview:extractDeepLinksDebug UP-TO-DATE
 0:16.55 > Task :exoplayer2:extractDeepLinksDebug UP-TO-DATE
 0:16.55 > Task :exoplayer2:parseDebugLocalResources UP-TO-DATE
 0:16.55 > Task :geckoview:javaPreCompileDebugAndroidTest UP-TO-DATE
 0:16.55 > Task :geckoview:compileDebugLibraryResources UP-TO-DATE
 0:16.55 > Task :geckoview:compileDebugAndroidTestAidl NO-SOURCE
 0:16.55 > Task :geckoview:extractDeepLinksForAarDebug UP-TO-DATE
 0:16.56 > Task :geckoview:prepareDebugArtProfile UP-TO-DATE
 0:16.56 > Task :exoplayer2:compileDebugLibraryResources UP-TO-DATE
 0:16.56 > Task :geckoview:compileDebugShaders NO-SOURCE
 0:16.56 > Task :geckoview:writeDebugAndroidTestSigningConfigVersions UP-TO-DATE
 0:16.56 > Task :geckoview:processDebugAndroidTestNavigationResources UP-TO-DATE
 0:16.57 > Task :messaging_example:checkKotlinGradlePluginConfigurationErrors SKIPPED
 0:16.57 > Task :exoplayer2:processDebugManifest UP-TO-DATE
 0:16.58 > Task :geckoview:mergeDebugAndroidTestJniLibFolders UP-TO-DATE
 0:16.58 > Task :geckoview:validateSigningDebugAndroidTest UP-TO-DATE
 0:16.58 > Task :geckoview:processDebugManifest UP-TO-DATE
 0:16.58 > Task :exoplayer2:mergeDebugJniLibFolders UP-TO-DATE
 0:16.58 > Task :port_messaging_example:checkKotlinGradlePluginConfigurationErrors SKIPPED
 0:16.58 > Task :port_messaging_example:preBuild UP-TO-DATE
 0:16.58 > Task :geckoview:compileDebugAndroidTestShaders NO-SOURCE
 0:16.58 > Task :test_runner:preBuild UP-TO-DATE
 0:16.58 > Task :exoplayer2:compileDebugShaders NO-SOURCE
 0:16.58 > Task :port_messaging_example:preDebugBuild UP-TO-DATE
 0:16.58 > Task :exoplayer2:processDebugJavaRes NO-SOURCE
 0:16.59 > Task :messaging_example:preBuild UP-TO-DATE
 0:16.59 > Task :exoplayer2:generateDebugRFile UP-TO-DATE
 0:16.59 > Task :geckoview:compileDebugAndroidTestNavigationResources UP-TO-DATE
 0:16.60 > Task :exoplayer2:generateDebugAssets UP-TO-DATE
 0:16.60 > Task :exoplayer2:mergeDebugNativeLibs NO-SOURCE
 0:16.60 > Task :test_runner:checkKotlinGradlePluginConfigurationErrors SKIPPED
 0:16.60 > Task :test_runner:preDebugBuild UP-TO-DATE
 0:16.61 > Task :geckoview:generateDebugAndroidTestResources UP-TO-DATE
 0:16.61 > Task :geckoview:generateDebugRFile UP-TO-DATE
 0:16.61 > Task :port_messaging_example:writeDebugSigningConfigVersions UP-TO-DATE
 0:16.61 > Task :port_messaging_example:validateSigningDebug UP-TO-DATE
 0:16.61 > Task :port_messaging_example:writeDebugAppMetadata UP-TO-DATE
 0:16.61 > Task :exoplayer2:checkDebugAarMetadata UP-TO-DATE
 0:16.61 > Task :geckoview:generateDebugAndroidTestAssets UP-TO-DATE
 0:16.62 > Task :port_messaging_example:mergeDebugJniLibFolders UP-TO-DATE
 0:16.62 > Task :port_messaging_example:mergeDebugNativeDebugMetadata NO-SOURCE
 0:16.63 > Task :messaging_example:preDebugBuild UP-TO-DATE
 0:16.63 > Task :exoplayer2:prepareLintJarForPublish UP-TO-DATE
 0:16.63 > Task :port_messaging_example:javaPreCompileDebug UP-TO-DATE
 0:16.63 > Task :port_messaging_example:generateDebugResValues UP-TO-DATE
 0:16.63 > Task :port_messaging_example:desugarDebugFileDependencies UP-TO-DATE
 0:16.63 > Task :exoplayer2:prepareDebugArtProfile UP-TO-DATE
 0:16.63 > Task :exoplayer2:mergeDebugAssets UP-TO-DATE
 0:16.63 > Task :port_messaging_example:mergeDebugShaders UP-TO-DATE
 0:16.64 > Task :messaging_example:createDebugCompatibleScreenManifests UP-TO-DATE
 0:16.64 > Task :messaging_example:mergeDebugShaders UP-TO-DATE
 0:16.64 > Task :port_messaging_example:createDebugCompatibleScreenManifests UP-TO-DATE
 0:16.64 > Task :exoplayer2:extractDeepLinksForAarDebug UP-TO-DATE
 0:16.64 > Task :exoplayer2:mergeDebugJavaResource UP-TO-DATE
 0:16.65 > Task :messaging_example:writeDebugSigningConfigVersions UP-TO-DATE
 0:16.65 > Task :exoplayer2:javadocDebug NO-SOURCE
 0:16.65 > Task :exoplayer2:stripDebugDebugSymbols NO-SOURCE
 0:16.65 > Task :test_runner:generateDebugResValues UP-TO-DATE
 0:16.65 > Task :geckoview:sourcesJarDebug UP-TO-DATE
 0:16.65 > Task :messaging_example:mergeDebugNativeDebugMetadata NO-SOURCE
 0:16.65 > Task :messaging_example:validateSigningDebug UP-TO-DATE
 0:16.66 > Task :messaging_example:generateDebugResValues UP-TO-DATE
 0:16.66 > Task :messaging_example:javaPreCompileDebug UP-TO-DATE
 0:16.66 > Task :messaging_example:mergeDebugJniLibFolders UP-TO-DATE
 0:16.66 > Task :messaging_example:writeDebugAppMetadata UP-TO-DATE
 0:16.66 > Task :messaging_example:desugarDebugFileDependencies UP-TO-DATE
 0:16.67 > Task :test_runner:createDebugCompatibleScreenManifests UP-TO-DATE
 0:16.67 > Task :exoplayer2:javadocJarDebug UP-TO-DATE
 0:16.67 > Task :geckoview:compileDebugAidl UP-TO-DATE
 0:16.67 > Task :test_runner:mergeDebugShaders UP-TO-DATE
 0:16.67 > Task :test_runner:mergeDebugNativeDebugMetadata NO-SOURCE
 0:16.67 > Task :port_messaging_example:compileDebugShaders NO-SOURCE
 0:16.67 > Task :port_messaging_example:extractDeepLinksDebug UP-TO-DATE
 0:16.67 > Task :test_runner:javaPreCompileDebug UP-TO-DATE
 0:16.68 > Task :exoplayer2:copyDebugJniLibsProjectOnly UP-TO-DATE
 0:16.68 > Task :messaging_example:compileDebugShaders NO-SOURCE
 0:16.68 > Task :messaging_example:generateDebugResources UP-TO-DATE
 0:16.68 > Task :messaging_example:extractDeepLinksDebug UP-TO-DATE
 0:16.68 > Task :port_messaging_example:generateDebugResources UP-TO-DATE
 0:16.69 > Task :messaging_example:generateDebugAssets UP-TO-DATE
 0:16.69 > Task :exoplayer2:generatePomFileForDebugPublication
 0:16.69 > Task :geckoview:generatePomFileForDebugPublication
 0:16.69 > Task :port_messaging_example:generateDebugAssets UP-TO-DATE
 0:16.70 > Task :test_runner:compileDebugShaders NO-SOURCE
 0:16.70 > Task :test_runner:generateDebugAssets UP-TO-DATE
 0:16.70 > Task :test_runner:generateDebugResources UP-TO-DATE
 0:16.70 > Task :exoplayer2:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
 0:16.70 > Task :machBuildFaster SKIPPED
 0:16.70 Skipping task :machBuildFaster because: within `mach build`
 0:16.71 > Task :test_runner:extractDeepLinksDebug UP-TO-DATE
 0:16.71 > Task :machStagePackage SKIPPED
 0:16.71 Skipping task :machStagePackage because: within `mach build`
 0:16.71 > Task :geckoview:prepareLintJarForPublish UP-TO-DATE
 0:16.71 > Task :exoplayer2:compileDebugJavaWithJavac UP-TO-DATE
 0:16.71 > Task :test_runner:packageDebugResources UP-TO-DATE
 0:16.71 > Task :port_messaging_example:packageDebugResources UP-TO-DATE
 0:16.72 > Task :messaging_example:packageDebugResources UP-TO-DATE
 0:16.72 > Task :geckoview:generateDebugAssets UP-TO-DATE
 0:16.72 > Task :exoplayer2:sourcesJarDebug UP-TO-DATE
 0:16.72 > Task :geckoview:mergeDebugJniLibFolders UP-TO-DATE
 0:16.72 > Task :exoplayer2:bundleLibCompileToJarDebug UP-TO-DATE
 0:16.73 > Task :test_runner:validateSigningDebug UP-TO-DATE
 0:16.73 > Task :exoplayer2:bundleLibRuntimeToJarDebug UP-TO-DATE
 0:16.73 > Task :exoplayer2:mergeDebugGeneratedProguardFiles UP-TO-DATE
 0:16.73 > Task :test_runner:writeDebugAppMetadata UP-TO-DATE
 0:16.73 > Task :exoplayer2:mergeDebugConsumerProguardFiles UP-TO-DATE
 0:16.73 > Task :test_runner:writeDebugSigningConfigVersions UP-TO-DATE
 0:16.73 > Task :geckoview_example:preBuild UP-TO-DATE
 0:16.73 > Task :geckoview_example:preDebugBuild UP-TO-DATE
 0:16.73 > Task :test_runner:mergeDebugJniLibFolders UP-TO-DATE
 0:16.74 > Task :geckoview_example:checkKotlinGradlePluginConfigurationErrors SKIPPED
 0:16.74 > Task :geckoview_example:mergeDebugNativeDebugMetadata NO-SOURCE
 0:16.74 > Task :geckoview_example:generateDebugBuildConfig UP-TO-DATE
 0:16.74 > Task :geckoview:compileDebugKotlin NO-SOURCE
 0:16.74 > Task :geckoview:processDebugJavaRes NO-SOURCE
 0:16.75 > Task :geckoview:mergeDebugAssets UP-TO-DATE
 0:16.75 > Task :geckoview:mergeDebugJavaResource UP-TO-DATE
 0:16.75 > Task :geckoview_example:generateDebugResValues UP-TO-DATE
 0:16.75 > Task :geckoview_example:javaPreCompileDebug UP-TO-DATE
 0:16.75 > Task :geckoview:compileDebugJavaWithJavac UP-TO-DATE
 0:16.75 > Task :geckoview_example:createDebugCompatibleScreenManifests UP-TO-DATE
 0:16.75 > Task :geckoview:bundleLibRuntimeToJarDebug UP-TO-DATE
 0:16.76 > Task :geckoview:mergeDebugGeneratedProguardFiles UP-TO-DATE
 0:16.76 > Task :geckoview_example:generateDebugResources UP-TO-DATE
 0:16.76 > Task :geckoview:bundleLibCompileToJarDebug UP-TO-DATE
 0:16.76 > Task :messaging_example:mapDebugSourceSetPaths UP-TO-DATE
 0:16.76 > Task :geckoview_example:extractDeepLinksDebug UP-TO-DATE
 0:16.76 > Task :geckoview:mergeDebugConsumerProguardFiles UP-TO-DATE
 0:16.77 > Task :port_messaging_example:mergeDebugAssets UP-TO-DATE
 0:16.77 > Task :messaging_example:mergeDebugAssets UP-TO-DATE
 0:16.77 > Task :exoplayer2:bundleLibRuntimeToDirDebug UP-TO-DATE
 0:16.77 > Task :geckoview_example:packageDebugResources UP-TO-DATE
 0:16.78 > Task :geckoview_example:mergeDebugShaders UP-TO-DATE
 0:16.78 > Task :geckoview:checkDebugAndroidTestAarMetadata UP-TO-DATE
 0:16.78 > Task :geckoview_example:compileDebugShaders NO-SOURCE
 0:16.78 > Task :port_messaging_example:checkDebugAarMetadata UP-TO-DATE
 0:16.78 > Task :geckoview_example:generateDebugAssets UP-TO-DATE
 0:16.78 > Task :geckoview:desugarDebugAndroidTestFileDependencies UP-TO-DATE
 0:16.79 > Task :geckoview_example:parseDebugIntegrityConfig UP-TO-DATE
 0:16.79 > Task :geckoview_example:writeDebugSigningConfigVersions UP-TO-DATE
 0:16.79 > Task :geckoview_example:writeDebugAppMetadata UP-TO-DATE
 0:16.79 > Task :geckoview:checkDebugAarMetadata UP-TO-DATE
 0:16.79 > Task :geckoview:mapDebugAndroidTestSourceSetPaths UP-TO-DATE
 0:16.79 > Task :test_runner:parseDebugIntegrityConfig UP-TO-DATE
 0:16.79 > Task :geckoview_example:mergeDebugJniLibFolders UP-TO-DATE
 0:16.79 > Task :geckoview_example:validateSigningDebug UP-TO-DATE
 0:16.80 > Task :port_messaging_example:mapDebugSourceSetPaths UP-TO-DATE
 0:16.80 > Task :port_messaging_example:processDebugNavigationResources UP-TO-DATE
 0:16.81 > Task :port_messaging_example:checkDebugDuplicateClasses UP-TO-DATE
 0:16.81 > Task :port_messaging_example:compileDebugNavigationResources UP-TO-DATE
 0:16.81 > Task :port_messaging_example:parseDebugLocalResources UP-TO-DATE
 0:16.81 > Task :geckoview_example:processDebugNavigationResources UP-TO-DATE
 0:16.81 > Task :test_runner:processDebugNavigationResources UP-TO-DATE
 0:16.81 > Task :test_runner:desugarDebugFileDependencies UP-TO-DATE
 0:16.82 > Task :geckoview_example:desugarDebugFileDependencies UP-TO-DATE
 0:16.82 > Task :geckoview_example:mapDebugSourceSetPaths UP-TO-DATE
 0:16.82 > Task :test_runner:mapDebugSourceSetPaths UP-TO-DATE
 0:16.83 > Task :geckoview:checkDebugAndroidTestDuplicateClasses
 0:16.83 > Task :messaging_example:checkDebugAarMetadata
 0:16.84 > Task :geckoview:bundleLibRuntimeToDirDebug UP-TO-DATE
 0:16.84 > Task :test_runner:mergeDebugAssets FAILED
 0:16.84 > Task :test_runner:checkDebugAarMetadata
 0:16.84 > Task :geckoview:javadocDebug
 0:16.84 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8
 0:16.84 [0.017s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
 0:16.84 [0.017s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Reference Handler"
 0:16.84 Error occurred during initialization of VM
 0:16.84 java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
 0:16.84        at java.lang.Thread.start0(java.base/Native Method)
 0:16.84        at java.lang.Thread.start(java.base/Thread.java:809)
 0:16.84        at java.lang.ref.Reference.<clinit>(java.base/Reference.java:314)
 0:16.85        at java.security.AccessController.doPrivileged(java.base/AccessController.java:318)
 0:16.85        at java.lang.reflect.AccessibleObject.<clinit>(java.base/AccessibleObject.java:489)
 0:16.85 > Task :test_runner:compileDebugNavigationResources
 0:16.91 > Task :test_runner:parseDebugLocalResources
 0:17.01 > Task :geckoview_example:parseDebugLocalResources
 0:17.41 > Task :exoplayer2:extractDebugAnnotations FAILED
 0:17.41 ERROR: Exception while notifying `com.intellij.openapi.extensions.impl.ExtensionPointImpl$doAddChangeListener$listenerAdapter$1@10aad188`
 0:17.41 java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
 0:17.41        at java.base/java.lang.Thread.start0(Native Method)
 0:17.41        at java.base/java.lang.Thread.start(Thread.java:809)
 0:17.41        at java.desktop/java.awt.EventQueue.initDispatchThread(EventQueue.java:1131)
 0:17.41        at java.desktop/java.awt.EventQueue.postEventPrivate(EventQueue.java:298)
 0:17.41        at java.desktop/java.awt.EventQueue.postEvent(EventQueue.java:273)
 0:17.41        at java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1316)
 0:17.41        at java.desktop/javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1421)
 0:17.41        at com.intellij.mock.MockApplication.invokeLater(MockApplication.java:286)
 0:17.41        at com.intellij.openapi.fileTypes.BinaryFileTypeDecompilers.notifyDecompilerSetChange(BinaryFileTypeDecompilers.java:29)
 0:17.41        at com.intellij.psi.compiled.ClassFileDecompilers.lambda$new$0(ClassFileDecompilers.java:81)
 0:17.41        at com.intellij.openapi.extensions.impl.ExtensionPointImpl$doAddChangeListener$listenerAdapter$1.extensionListChanged(ExtensionPointImpl.kt:749)
 0:17.42        at com.intellij.openapi.extensions.impl.ExtensionPointImpl.notifyListeners(ExtensionPointImpl.kt:649)
 0:17.42        at com.intellij.openapi.extensions.impl.ExtensionPointImpl.doRegisterExtension(ExtensionPointImpl.kt:140)
 0:17.42        at com.intellij.openapi.extensions.impl.ExtensionPointImpl.registerExtension(ExtensionPointImpl.kt:109)
 0:17.42        at com.intellij.openapi.extensions.impl.ExtensionPointImpl.registerExtension(ExtensionPointImpl.kt:105)
 0:17.42        at com.intellij.core.CoreApplicationEnvironment.addExtension(CoreApplicationEnvironment.java:211)
 0:17.42        at com.intellij.core.JavaCoreApplicationEnvironment.<init>(JavaCoreApplicationEnvironment.java:98)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreApplicationEnvironment.<init>(KotlinCoreApplicationEnvironment.kt:41)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreApplicationEnvironment.<init>(KotlinCoreApplicationEnvironment.kt)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreApplicationEnvironment$Companion.create(KotlinCoreApplicationEnvironment.kt:113)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createApplicationEnvironment(KotlinCoreEnvironment.kt:711)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.getOrCreateApplicationEnvironment(KotlinCoreEnvironment.kt:593)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.getOrCreateApplicationEnvironment(KotlinCoreEnvironment.kt:580)
 0:17.42        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:475)
 0:17.43        at com.android.tools.lint.Fe10UastEnvironmentKt.createKotlinCompilerEnv(Fe10UastEnvironment.kt:271)
 0:17.43        at com.android.tools.lint.Fe10UastEnvironmentKt.access$createKotlinCompilerEnv(Fe10UastEnvironment.kt:1)
 0:17.43        at com.android.tools.lint.Fe10UastEnvironment$Companion.create(Fe10UastEnvironment.kt:243)
 0:17.43        at com.android.tools.lint.UastEnvironment$Companion.create(UastEnvironment.kt:178)
 0:17.43        at com.android.tools.lint.UastEnvironment.create(UastEnvironment.kt)
 0:17.43        at com.android.tools.lint.annotations.ExtractAnnotationsDriver.run(ExtractAnnotationsDriver.java:341)
 0:17.43        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 0:17.43        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 0:17.43        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 0:17.43        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
 0:17.43        at com.android.build.gradle.internal.lint.AndroidLintWorkAction.invokeLintMainRunMethod(AndroidLintWorkAction.kt:103)
 0:17.43        at com.android.build.gradle.internal.lint.AndroidLintWorkAction.runLint(AndroidLintWorkAction.kt:90)
 0:17.43        at com.android.build.gradle.internal.lint.AndroidLintWorkAction.execute(AndroidLintWorkAction.kt:64)
 0:17.43        at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
 0:17.44        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
 0:17.44        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
 0:17.44        at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
 0:17.44        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
 0:17.44        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
 0:17.44        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:210)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:205)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:67)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:60)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:167)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:60)
 0:17.44        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:54)
 0:17.44        at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
 0:17.45        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
 0:17.45        at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174)
 0:17.45        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 0:17.45        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:194)
 0:17.45        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:127)
 0:17.45        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:169)
 0:17.45        at org.gradle.internal.Factories$1.create(Factories.java:31)
 0:17.45        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:263)
 0:17.45        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:127)
 0:17.45        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:132)
 0:17.45        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
 0:17.45        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:133)
 0:17.45        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
 0:17.46        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 0:17.46        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
 0:17.46        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
 0:17.46        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
 0:17.46        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
 0:17.46        at java.base/java.lang.Thread.run(Thread.java:840)
 0:17.47 [2.685s][warning][os,thread] Failed to start thread "GC Thread#2" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 4k, detached.
 0:17.47 [2.691s][warning][os,thread] Failed to start thread "GC Thread#2" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 4k, detached.
 0:17.51 > Task :geckoview:extractDebugAnnotations FAILED
 0:17.51 Exception in thread "WorkerExecutor Queue Thread 3" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
 0:17.51        at java.base/java.lang.Thread.start0(Native Method)
 0:17.51        at java.base/java.lang.Thread.start(Thread.java:809)
 0:17.51        at kotlinx.coroutines.scheduling.CoroutineScheduler.createNewWorker(CoroutineScheduler.kt:521)
 0:17.52        at kotlinx.coroutines.scheduling.CoroutineScheduler.tryCreateWorker(CoroutineScheduler.kt:475)
 0:17.52        at kotlinx.coroutines.scheduling.CoroutineScheduler.tryCreateWorker$default(CoroutineScheduler.kt:468)
 0:17.52        at kotlinx.coroutines.scheduling.CoroutineScheduler.signalCpuWork(CoroutineScheduler.kt:464)
 0:17.52        at kotlinx.coroutines.scheduling.CoroutineScheduler.dispatch(CoroutineScheduler.kt:439)
 0:17.52        at kotlinx.coroutines.scheduling.CoroutineScheduler.dispatch$default(CoroutineScheduler.kt:416)
 0:17.52        at kotlinx.coroutines.scheduling.SchedulerCoroutineDispatcher.dispatch(Dispatcher.kt:118)
 0:17.52        at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:318)
 0:17.52        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
 0:17.53        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:21)
 0:17.53        at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:88)
 0:17.53        at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
 0:17.53        at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
 0:17.53        at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
 0:17.53        at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
 0:17.53        at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
 0:17.53        at com.intellij.codeInsight.multiverse.CodeInsightContextManagerImpl.subscribeToChanges(CodeInsightContextManagerImpl.kt:77)
 0:17.53        at com.intellij.codeInsight.multiverse.CodeInsightContextManagerImpl.<init>(CodeInsightContextManagerImpl.kt:72)
 0:17.53        at com.intellij.core.CoreProjectEnvironment.<init>(CoreProjectEnvironment.java:53)
 0:17.54        at com.intellij.core.JavaCoreProjectEnvironment.<init>(JavaCoreProjectEnvironment.java:38)
 0:17.54        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreProjectEnvironment.<init>(KotlinCoreProjectEnvironment.kt:24)
 0:17.54        at org.jetbrains.kotlin.analysis.api.standalone.base.projectStructure.StandaloneProjectFactory$createProjectEnvironment$1.<init>(StandaloneProjectFactory.kt:91)
 0:17.54        at org.jetbrains.kotlin.analysis.api.standalone.base.projectStructure.StandaloneProjectFactory.createProjectEnvironment(StandaloneProjectFactory.kt:91)
 0:17.54        at org.jetbrains.kotlin.analysis.api.standalone.StandaloneAnalysisAPISessionBuilder.<init>(StandaloneAnalysisAPISessionBuilder.kt:74)
 0:17.54        at com.android.tools.lint.FirUastEnvironmentKt.createAnalysisSession(FirUastEnvironment.kt:209)
 0:17.54        at com.android.tools.lint.FirUastEnvironmentKt.access$createAnalysisSession(FirUastEnvironment.kt:1)
 0:17.55        at com.android.tools.lint.FirUastEnvironment$Companion.create(FirUastEnvironment.kt:92)
 0:17.55        at com.android.tools.lint.UastEnvironment$Companion.create(UastEnvironment.kt:177)
 0:17.55        at com.android.tools.lint.UastEnvironment.create(UastEnvironment.kt)
 0:17.55        at com.android.tools.lint.annotations.ExtractAnnotationsDriver.run(ExtractAnnotationsDriver.java:341)
 0:17.55        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 0:17.55        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 0:17.55        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 0:17.55        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
 0:17.56        at com.android.build.gradle.internal.lint.AndroidLintWorkAction.invokeLintMainRunMethod(AndroidLintWorkAction.kt:103)
 0:17.56        at com.android.build.gradle.internal.lint.AndroidLintWorkAction.runLint(AndroidLintWorkAction.kt:90)
 0:17.56        at com.android.build.gradle.internal.lint.AndroidLintWorkAction.execute(AndroidLintWorkAction.kt:64)
 0:17.56        at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
 0:17.56        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
 0:17.56        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
 0:17.56        at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
 0:17.56        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
 0:17.56        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
 0:17.57        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
 0:17.57        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:210)
 0:17.57        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:205)
 0:17.57        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:67)
 0:17.57        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:60)
 0:17.57        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:167)
 0:17.57        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:60)
 0:17.58        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:54)
 0:17.58        at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
 0:17.58        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
 0:17.58        at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174)
 0:17.58        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 0:17.58        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:194)
 0:17.58        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:127)
 0:17.58        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:169)
 0:17.59        at org.gradle.internal.Factories$1.create(Factories.java:31)
 0:17.59        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:263)
 0:17.59        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:127)
 0:17.59        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:132)
 0:17.59        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
 0:17.59        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:133)
 0:17.59        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
 0:17.59        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 0:17.60        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
 0:17.60        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
 0:17.60        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
 0:17.60        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
 0:17.60        at java.base/java.lang.Thread.run(Thread.java:840)
 0:17.60        Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(MockProject: {}), StandaloneCoroutine{Cancelling}@614f273e, Dispatchers.Default]
 0:18.01 > Task :geckoview:mergeDebugAndroidTestResources FAILED
 0:18.11 > Task :messaging_example:mergeDebugResources FAILED
 0:18.11 > Task :geckoview_example:mergeDebugAssets
 0:18.21 > Task :geckoview:mergeDebugNativeLibs
 0:18.21 > Task :geckoview:mergeDebugAndroidTestAssets FAILED
 0:18.31 > Task :geckoview_example:compileDebugNavigationResources
 0:18.31 > Task :messaging_example:checkDebugDuplicateClasses
 0:18.31 > Task :geckoview_example:checkDebugDuplicateClasses
 0:18.51 > Task :geckoview_example:checkDebugAarMetadata
 0:18.61 > Task :geckoview:mergeLibDexDebugAndroidTest FAILED
 0:18.61 > Task :port_messaging_example:compressDebugAssets
 0:18.61 > Task :messaging_example:compressDebugAssets
 0:18.71 > Task :test_runner:checkDebugDuplicateClasses
 0:18.71 > Task :geckoview:processDebugAndroidTestManifest UP-TO-DATE
 0:18.71 > Task :messaging_example:processDebugMainManifest UP-TO-DATE
 0:18.71 > Task :geckoview_example:processDebugMainManifest UP-TO-DATE
 0:18.72 > Task :messaging_example:processDebugNavigationResources UP-TO-DATE
 0:19.21 > Task :test_runner:mergeDebugResources FAILED
 0:19.21 > Task :geckoview_example:mergeDebugResources FAILED
 0:19.51 > Task :port_messaging_example:mergeDebugResources FAILED
 0:19.61 > Task :port_messaging_example:processDebugMainManifest UP-TO-DATE
 0:20.41 > Task :test_runner:processDebugMainManifest UP-TO-DATE
 0:21.81 > Task :port_messaging_example:mergeExtDexDebug FAILED
 0:23.51 > Task :geckoview:mergeExtDexDebugAndroidTest FAILED
 0:23.51 [gradle:error]: > Build completed with 12 failures.
 0:23.51 [gradle:error]: > > Execution failed for task ':test_runner:mergeDebugAssets'.
 0:23.51 [gradle:error]: >   > Execution failed for task ':test_runner:mergeDebugAssets'.
 0:23.51 [gradle:error]: >     > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.51 [gradle:error]: >
 0:23.51 FAILURE: Build completed with 13 failures.
 0:23.51 1: Task failed with an exception.
 0:23.51 -----------
 0:23.51 * What went wrong:
 0:23.51 Execution failed for task ':test_runner:mergeDebugAssets'.
 0:23.51 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.51 * Try:
 0:23.51 > Run with --stacktrace option to get the stack trace.
 0:23.51 > Run with --info or --debug option to get more log output.
 0:23.51 > Run with --scan to get full insights.
 0:23.51 > Get more help at https://help.gradle.org.
 0:23.51 ==============================================================================
 0:23.52 2: Task failed with an exception.
 0:23.52 -----------
 0:23.52 * What went wrong:
 0:23.52 Execution failed for task ':exoplayer2:extractDebugAnnotations'.
 0:23.52 > A failure occurred while executing com.android.build.gradle.internal.lint.AndroidLintWorkAction
 0:23.52    > Exception while notifying `com.intellij.openapi.extensions.impl.ExtensionPointImpl$doAddChangeListener$listenerAdapter$1@10aad188`
 0:23.52 * Try:
 0:23.52 > Run with --stacktrace option to get the stack trace.
 0:23.52 > Run with --info or --debug option to get more log output.
 0:23.52 > Run with --scan to get full insights.
 0:23.52 > Get more help at https://help.gradle.org.
 0:23.52 ==============================================================================
 0:23.52 3: Task failed with an exception.
 0:23.52 -----------
 0:23.52 * What went wrong:
 0:23.52 Execution failed for task ':geckoview:extractDebugAnnotations'.
 0:23.52 > A failure occurred while executing com.android.build.gradle.internal.lint.AndroidLintWorkAction
 0:23.52    > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.52 * Try:
 0:23.52 > Run with --stacktrace option to get the stack trace.
 0:23.52 > Run with --info or --debug option to get more log output.
 0:23.52 > Run with --scan to get full insights.
 0:23.52 > Get more help at https://help.gradle.org.
 0:23.52 ==============================================================================
 0:23.52 4: Task failed with an exception.
 0:23.52 -----------
 0:23.52 * What went wrong:
 0:23.53 Execution failed for task ':geckoview:mergeDebugAndroidTestResources'.
 0:23.53 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.53 * Try:
 0:23.53 > Run with --stacktrace option to get the stack trace.
 0:23.53 > Run with --info or --debug option to get more log output.
 0:23.53 > Run with --scan to get full insights.
 0:23.53 > Get more help at https://help.gradle.org.
 0:23.53 ==============================================================================
 0:23.53 5: Task failed with an exception.
 0:23.53 -----------
 0:23.53 * What went wrong:
 0:23.53 Execution failed for task ':messaging_example:mergeDebugResources'.
 0:23.53 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.53 * Try:
 0:23.53 > Run with --stacktrace option to get the stack trace.
 0:23.53 > Run with --info or --debug option to get more log output.
 0:23.53 > Run with --scan to get full insights.
 0:23.53 > Get more help at https://help.gradle.org.
 0:23.53 ==============================================================================
 0:23.53 6: Task failed with an exception.
 0:23.53 -----------
 0:23.53 * What went wrong:
 0:23.53 Execution failed for task ':geckoview:mergeDebugAndroidTestAssets'.
 0:23.53 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.53 * Try:
 0:23.54 > Run with --stacktrace option to get the stack trace.
 0:23.54 > Run with --info or --debug option to get more log output.
 0:23.54 > Run with --scan to get full insights.
 0:23.54 > Get more help at https://help.gradle.org.
 0:23.54 ==============================================================================
 0:23.54 7: Task failed with an exception.
 0:23.54 -----------
 0:23.54 * What went wrong:
 0:23.54 Execution failed for task ':geckoview:mergeLibDexDebugAndroidTest'.
 0:23.54 > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate
 0:23.54    > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.54 * Try:
 0:23.54 > Run with --stacktrace option to get the stack trace.
 0:23.54 > Run with --info or --debug option to get more log output.
 0:23.54 > Run with --scan to get full insights.
 0:23.54 > Get more help at https://help.gradle.org.
 0:23.54 ==============================================================================
 0:23.54 8: Task failed with an exception.
 0:23.54 -----------
 0:23.54 * What went wrong:
 0:23.54 Execution failed for task ':test_runner:mergeDebugResources'.
 0:23.54 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.54 * Try:
 0:23.54 > Run with --stacktrace option to get the stack trace.
 0:23.54 > Run with --info or --debug option to get more log output.
 0:23.54 > Run with --scan to get full insights.
 0:23.55 > Get more help at https://help.gradle.org.
 0:23.55 ==============================================================================
 0:23.55 9: Task failed with an exception.
 0:23.55 -----------
 0:23.55 * What went wrong:
 0:23.55 Execution failed for task ':geckoview_example:mergeDebugResources'.
 0:23.55 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.55 * Try:
 0:23.55 > Run with --stacktrace option to get the stack trace.
 0:23.55 > Run with --info or --debug option to get more log output.
 0:23.55 > Run with --scan to get full insights.
 0:23.55 > Get more help at https://help.gradle.org.
 0:23.55 ==============================================================================
 0:23.55 10: Task failed with an exception.
 0:23.55 -----------
 0:23.55 * What went wrong:
 0:23.55 Execution failed for task ':port_messaging_example:mergeDebugResources'.
 0:23.55 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.55 * Try:
 0:23.55 > Run with --stacktrace option to get the stack trace.
 0:23.55 > Run with --info or --debug option to get more log output.
 0:23.55 > Run with --scan to get full insights.
 0:23.55 > Get more help at https://help.gradle.org.
 0:23.55 ==============================================================================
 0:23.55 11: Task failed with an exception.
 0:23.55 -----------
 0:23.55 * What went wrong:
 0:23.56 Execution failed for task ':port_messaging_example:mergeExtDexDebug'.
 0:23.56 > A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate
 0:23.56    > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.56 * Try:
 0:23.56 > Run with --stacktrace option to get the stack trace.
 0:23.56 > Run with --info or --debug option to get more log output.
 0:23.56 > Run with --scan to get full insights.
 0:23.56 > Get more help at https://help.gradle.org.
 0:23.56 ==============================================================================
 0:23.56 12: Task failed with an exception.
 0:23.56 -----------
 0:23.56 * What went wrong:
 0:23.56 Execution failed for task ':geckoview:mergeExtDexDebugAndroidTest'.
 0:23.56 > unable to create native thread: possibly out of memory or process/resource limits reached
 0:23.56 * Try:
 0:23.56 > Run with --stacktrace option to get the stack trace.
 0:23.56 > Run with --info or --debug option to get more log output.
 0:23.56 > Run with --scan to get full insights.
 0:23.56 > Get more help at https://help.gradle.org.
 0:23.56 ==============================================================================
 0:23.56 13: Task failed with an exception.
 0:23.56 -----------
 0:23.56 * What went wrong:
 0:23.56 Failed to stop service 'com.android.build.gradle.internal.services.LintClassLoaderBuildService_3dedf8e9-1873-46d0-a74a-98f96bfebd24'.
 0:23.56 * Try:
 0:23.57 > Run with --stacktrace option to get the stack trace.
 0:23.57 > Run with --info or --debug option to get more log output.
 0:23.57 > Run with --scan to get full insights.
 0:23.57 > Get more help at https://help.gradle.org.
 0:23.57 ==============================================================================
 0:23.57 BUILD FAILED in 8s
 0:23.57 170 actionable tasks: 30 executed, 140 up-to-date
 0:23.57 Configuration cache entry reused.
 0:23.95 gmake[3]: *** [Makefile:144: recurse_android-archive-geckoview] Error 1
 0:23.95 gmake[2]: *** [/var/home/krosylight/Documents/dev/firefox/config/recurse.mk:34: android-archive-geckoview] Error 2
 0:23.95 gmake[1]: *** [/var/home/krosylight/Documents/dev/firefox/config/rules.mk:359: default] Error 2
 0:23.95 gmake: *** [client.mk:60: build] Error 2
 0:24.05 W 200 compiler warnings present.

So it turns out that after ./mach build there are zombie java processes remaining in the system, and it seems that Java declines to allocate more with zombie processes still undead, regrardless of how much system memory space is available. Killing those processes manually after build fixes the issue. But it has to be done manually every time...

Edit: no, killing them does not fix the issue 😬

The severity field is not set for this bug.
:polly, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(polly)

Passing --no-daemon to install-fenix command still leaves a daemon after the command ends...

(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #3)

Passing --no-daemon to install-fenix command still leaves a daemon after the command ends...

You probably need to use GRADLE_FLAGS to control this for all of the different Gradle invocations that happen as part of the build.

P5 -- we'd take a patch; N/A -- this doesn't impact users.

Severity: -- → N/A
Flags: needinfo?(polly)
Priority: -- → P5

My Android work is severely limited by this. The whole Android Studio integration is broken with the same error. Seems like either a Gradle configuration issue or the Gradle binary itself.

Alex, could this be something with https://searchfox.org/firefox-main/rev/91e6069b9c1e7289d0c727b5110e144edc589204/gradle.properties#11 ? Certainly it should not argue that resource is limited on a machine with 64G memory...

But it didn't go anywhere when I modified it to a higher value.

Flags: needinfo?(ahochheiden)

I got some error logs today:

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create worker GC thread. Out of system resources.
# Possible reasons:
#   The system is out of physical RAM or swap space
#   This process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
#   JVM is running with Zero Based Compressed Oops mode in which the Java heap is
#     placed in the first 32GB address space. The Java Heap base address is the
#     maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
#     to set the Java Heap base and to place the Java Heap above 32GB virtual address.
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (workerManager.hpp:87), pid=84417, tid=84419
#
# JRE version:  (17.0.16+8) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.16+8, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (or dumping to /var/home/krosylight/Documents/dev/firefox/core.84417)
#

---------------  S U M M A R Y ------------

Command Line: -Dfile.encoding=utf-8 org.jetbrains.kotlin.cli.jvm.K2JVMCompiler @/var/home/krosylight/Documents/dev/firefox/obj-x86_64-unknown-linux-android/gradle/build/mobile/android/android-components/components/lib/publicsuffixlist/20251013_955636696441745060.compiler.options

Host: AMD Ryzen Threadripper PRO 3975WX 32-Cores, 64 cores, 62G, Fedora release 42 (Adams)
Time: Mon Oct 13 18:38:01 2025 CEST elapsed time: 0.002495 seconds (0d 0h 0m 0s)

---------------  T H R E A D  ---------------

Current thread (0x00007fc81c02a260):  JavaThread "Unknown thread" [_thread_in_vm, id=84419, stack(0x00007fc824100000,0x00007fc824200000)]

Stack: [0x00007fc824100000,0x00007fc824200000],  sp=0x00007fc8241fe5f0,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xee9781]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x1a1
V  [libjvm.so+0xeea36d]  VMError::report_and_die(Thread*, char const*, int, unsigned long, VMErrorType, char const*, __va_list_tag*)+0x2d
V  [libjvm.so+0x6093ac]  report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*, ...)+0xdc
V  [libjvm.so+0xf1dbc4]  WorkerManager::add_workers(WorkGang*, unsigned int, unsigned int, unsigned int, os::ThreadType, bool)+0x154
V  [libjvm.so+0xf1ddaa]  WorkGang::initialize_workers()+0x4a
V  [libjvm.so+0x6f1891]  G1CollectedHeap::initialize()+0x6c1
V  [libjvm.so+0xe97b86]  universe_init()+0xd6
V  [libjvm.so+0x800e17]  init_globals()+0x37
V  [libjvm.so+0xe6dfdf]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x36f
V  [libjvm.so+0x8c016f]  JNI_CreateJavaVM+0x4f
C  [libjli.so+0x9c6f]  JavaMain+0x8f
C  [libjli.so+0xdf99]  ThreadJavaMain+0x9
C  [libc.so.6+0x71f54]  start_thread+0x2e4


---------------  P R O C E S S  ---------------

Threads class SMR info:
_java_thread_list=0x00007fc8255484e0, length=0, elements={
}

Java Threads: ( => current thread )

Other Threads:

[error occurred during error reporting (printing all threads), id 0xb, SIGSEGV (0xb) at pc=0x00007fc8248fe460]

VM state: not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00007fc81c027bd0] Heap_lock - owner thread: 0x00007fc81c02a260

Heap address: 0x0000000416000000, size: 16032 MB, Compressed Oops mode: Zero based, Oop shift amount: 3

CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0

GC Precious Log:
<Empty>

Heap:
 garbage-first heap   total 0K, used 0K [0x0000000416000000, 0x0000000800000000)
  region size 8192K, 0 young (0K), 0 survivors (0K)

[error occurred during error reporting (printing heap information), id 0xb, SIGSEGV (0xb) at pc=0x00007fc824ecfcca]

GC Heap History (0 events):
No events

Dll operation events (1 events):
Event: 0.001 Loaded shared library /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so

Deoptimization events (0 events):
No events

Classes loaded (0 events):
No events

Classes unloaded (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

VM Operations (0 events):
No events

Memory protections (1 events):
Event: 0.001 Protecting memory [0x00007fc824100000,0x00007fc824104000] with protection modes 0

Nmethod flushes (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
416000000-800000000 ---p 00000000 00:00 0 
55bb2a300000-55bb2a301000 r--p 00000000 00:23 2274455                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/bin/java
55bb2a301000-55bb2a302000 r-xp 00001000 00:23 2274455                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/bin/java
55bb2a302000-55bb2a303000 r--p 00002000 00:23 2274455                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/bin/java
55bb2a303000-55bb2a304000 r--p 00002000 00:23 2274455                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/bin/java
55bb2a304000-55bb2a305000 rw-p 00003000 00:23 2274455                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/bin/java
55bb67e04000-55bb67e4c000 rw-p 00000000 00:00 0                          [heap]
7fc7dff10000-7fc805200000 ---p 00000000 00:00 0 
7fc805200000-7fc805470000 rwxp 00000000 00:00 0 
7fc805470000-7fc80c5cf000 ---p 00000000 00:00 0 
7fc80c5cf000-7fc80c83f000 rwxp 00000000 00:00 0 
7fc80c83f000-7fc80ce30000 ---p 00000000 00:00 0 
7fc80ce30000-7fc80d0a0000 rwxp 00000000 00:00 0 
7fc80d0a0000-7fc814200000 ---p 00000000 00:00 0 
7fc814200000-7fc81be04000 r--s 00000000 00:23 2274310                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/modules
7fc81c000000-7fc81c0a7000 rw-p 00000000 00:00 0 
7fc81c0a7000-7fc820000000 ---p 00000000 00:00 0 
7fc820bf7000-7fc82100f000 rw-p 00000000 00:00 0 
7fc82100f000-7fc821010000 ---p 00000000 00:00 0 
7fc821010000-7fc821110000 rw-p 00000000 00:00 0 
7fc821110000-7fc823f35000 rw-p 00000000 00:00 0 
7fc823f35000-7fc824018000 ---p 00000000 00:00 0 
7fc824018000-7fc82401d000 rw-p 00000000 00:00 0 
7fc82401d000-7fc824100000 ---p 00000000 00:00 0 
7fc824100000-7fc824104000 ---p 00000000 00:00 0 
7fc824104000-7fc824200000 rw-p 00000000 00:00 0 
7fc824200000-7fc824453000 r--p 00000000 00:23 2274299                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/server/libjvm.so
7fc824453000-7fc82517c000 r-xp 00253000 00:23 2274299                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/server/libjvm.so
7fc82517c000-7fc825409000 r--p 00f7c000 00:23 2274299                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/server/libjvm.so
7fc825409000-7fc82540a000 ---p 01209000 00:23 2274299                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/server/libjvm.so
7fc82540a000-7fc8254c3000 r--p 01209000 00:23 2274299                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/server/libjvm.so
7fc8254c3000-7fc8254f8000 rw-p 012c2000 00:23 2274299                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/server/libjvm.so
7fc8254f8000-7fc825553000 rw-p 00000000 00:00 0 
7fc82556f000-7fc8255b3000 rw-p 00000000 00:00 0 
7fc8255b3000-7fc8255bf000 ---p 00000000 00:00 0 
7fc8255bf000-7fc8255cd000 r--p 00000000 00:23 2274337                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so
7fc8255cd000-7fc8255df000 r-xp 0000e000 00:23 2274337                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so
7fc8255df000-7fc8255e5000 r--p 00020000 00:23 2274337                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so
7fc8255e5000-7fc8255e6000 ---p 00026000 00:23 2274337                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so
7fc8255e6000-7fc8255e7000 r--p 00026000 00:23 2274337                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so
7fc8255e7000-7fc8255e8000 rw-p 00027000 00:23 2274337                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjava.so
7fc8255e8000-7fc8255e9000 rw-p 00000000 00:00 0 
7fc8255e9000-7fc8255ed000 r--p 00000000 00:23 2274312                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjimage.so
7fc8255ed000-7fc825600000 r-xp 00004000 00:23 2274312                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjimage.so
7fc825600000-7fc825606000 r--p 00017000 00:23 2274312                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjimage.so
7fc825606000-7fc825608000 r--p 0001c000 00:23 2274312                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjimage.so
7fc825608000-7fc825609000 rw-p 0001e000 00:23 2274312                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjimage.so
7fc825609000-7fc825685000 r-xp 00000000 00:4a 1876828                    /usr/lib64/libm.so.6
7fc825685000-7fc8256f5000 r--p 0007c000 00:4a 1876828                    /usr/lib64/libm.so.6
7fc8256f5000-7fc8256f6000 r--p 000eb000 00:4a 1876828                    /usr/lib64/libm.so.6
7fc8256f6000-7fc8256f7000 rw-p 000ec000 00:4a 1876828                    /usr/lib64/libm.so.6
7fc8256f7000-7fc8256f8000 r-xp 00000000 00:4a 1876836                    /usr/lib64/librt.so.1
7fc8256f8000-7fc8256f9000 r--p 00001000 00:4a 1876836                    /usr/lib64/librt.so.1
7fc8256f9000-7fc8256fa000 r--p 00001000 00:4a 1876836                    /usr/lib64/librt.so.1
7fc8256fa000-7fc8256fd000 rw-p 00000000 00:00 0 
7fc8256fd000-7fc82586c000 r-xp 00000000 00:4a 1876826                    /usr/lib64/libc.so.6
7fc82586c000-7fc8258e1000 r--p 0016f000 00:4a 1876826                    /usr/lib64/libc.so.6
7fc8258e1000-7fc8258e5000 r--p 001e3000 00:4a 1876826                    /usr/lib64/libc.so.6
7fc8258e5000-7fc8258e7000 rw-p 001e7000 00:4a 1876826                    /usr/lib64/libc.so.6
7fc8258e7000-7fc8258ef000 rw-p 00000000 00:00 0 
7fc8258ef000-7fc8258f0000 r-xp 00000000 00:4a 1876827                    /usr/lib64/libdl.so.2
7fc8258f0000-7fc8258f1000 r--p 00001000 00:4a 1876827                    /usr/lib64/libdl.so.2
7fc8258f1000-7fc8258f2000 r--p 00001000 00:4a 1876827                    /usr/lib64/libdl.so.2
7fc8258f2000-7fc8258f3000 rw-p 00000000 00:00 0 
7fc8258f3000-7fc8258f4000 r-xp 00000000 00:4a 1876834                    /usr/lib64/libpthread.so.0
7fc8258f4000-7fc8258f5000 r--p 00001000 00:4a 1876834                    /usr/lib64/libpthread.so.0
7fc8258f5000-7fc8258f6000 r--p 00001000 00:4a 1876834                    /usr/lib64/libpthread.so.0
7fc8258f6000-7fc8258f7000 rw-p 00000000 00:00 0 
7fc8258f7000-7fc8258ff000 rw-s 00000000 00:31 4672                       /tmp/hsperfdata_krosylight/84417
7fc8258ff000-7fc825900000 ---p 00000000 00:00 0 
7fc825900000-7fc825901000 r--p 00000000 00:00 0 
7fc825901000-7fc825902000 ---p 00000000 00:00 0 
7fc825902000-7fc825905000 r--p 00000000 00:23 2274338                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjli.so
7fc825905000-7fc825915000 r-xp 00003000 00:23 2274338                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjli.so
7fc825915000-7fc82591c000 r--p 00013000 00:23 2274338                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjli.so
7fc82591c000-7fc82591d000 r--p 00019000 00:23 2274338                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjli.so
7fc82591d000-7fc82591e000 rw-p 0001a000 00:23 2274338                    /var/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8/lib/libjli.so
7fc82591e000-7fc825920000 rw-p 00000000 00:00 0 
7fc825920000-7fc825924000 r--p 00000000 00:00 0                          [vvar]
7fc825924000-7fc825926000 r--p 00000000 00:00 0                          [vvar_vclock]
7fc825926000-7fc825928000 r-xp 00000000 00:00 0                          [vdso]
7fc825928000-7fc825951000 r-xp 00000000 00:4a 1876823                    /usr/lib64/ld-linux-x86-64.so.2
7fc825951000-7fc82595c000 r--p 00029000 00:4a 1876823                    /usr/lib64/ld-linux-x86-64.so.2
7fc82595c000-7fc82595e000 r--p 00034000 00:4a 1876823                    /usr/lib64/ld-linux-x86-64.so.2
7fc82595e000-7fc82595f000 rw-p 00036000 00:4a 1876823                    /usr/lib64/ld-linux-x86-64.so.2
7fc82595f000-7fc825960000 rw-p 00000000 00:00 0 
7ffe4882a000-7ffe4884c000 rw-p 00000000 00:00 0                          [stack]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]


VM Arguments:
jvm_args: -Dfile.encoding=utf-8 
java_command: org.jetbrains.kotlin.cli.jvm.K2JVMCompiler @/var/home/krosylight/Documents/dev/firefox/obj-x86_64-unknown-linux-android/gradle/build/mobile/android/android-components/components/lib/publicsuffixlist/20251013_955636696441745060.compiler.options
java_class_path (initial): /var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/2.2.20/bb8331b7585e36ea311825b01a1c06860c055fd1/kotlin-compiler-embeddable-2.2.20.jar:/var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.20/5380b19fa1924399b62ce3a1faffebb2b4f82272/kotlin-stdlib-2.2.20.jar:/var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-script-runtime/2.2.20/4c679cbeac0bb583b75c3a080013da8eaf240807/kotlin-script-runtime-2.2.20.jar:/var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.6.10/1cbe9c92c12a94eea200d23c2bbaedaf3daf5132/kotlin-reflect-1.6.10.jar:/var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-daemon-embeddable/2.2.20/feff12d48d7f1eb628742b0a721395e16f8755bf/kotlin-daemon-embeddable-2.2.20.jar:/var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.8.0/ac1dc37a30a93150b704022f8d895ee1bd3a36b3/kotlinx-coroutines-core-jvm-1.8.0.jar:/var/home/krosylight/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar
Launcher Type: SUN_STANDARD

[Global flags]
     intx CICompilerCount                          = 18                                        {product} {ergonomic}
     uint ConcGCThreads                            = 11                                        {product} {ergonomic}
     uint G1ConcRefinementThreads                  = 43                                        {product} {ergonomic}
   size_t G1HeapRegionSize                         = 8388608                                   {product} {ergonomic}
    uintx GCDrainStackTargetSize                   = 64                                        {product} {ergonomic}
   size_t InitialHeapSize                          = 1056964608                                {product} {ergonomic}
   size_t MarkStackSize                            = 4194304                                   {product} {ergonomic}
   size_t MaxHeapSize                              = 16810770432                               {product} {ergonomic}
   size_t MinHeapDeltaBytes                        = 8388608                                   {product} {ergonomic}
   size_t MinHeapSize                              = 8388608                                   {product} {ergonomic}
    uintx NonNMethodCodeHeapSize                   = 8782280                                {pd product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 121437980                              {pd product} {ergonomic}
    uintx ProfiledCodeHeapSize                     = 121437980                              {pd product} {ergonomic}
    uintx ReservedCodeCacheSize                    = 251658240                              {pd product} {ergonomic}
     bool SegmentedCodeCache                       = true                                      {product} {ergonomic}
   size_t SoftMaxHeapSize                          = 16810770432                            {manageable} {ergonomic}
     bool UseCompressedClassPointers               = true                           {product lp64_product} {ergonomic}
     bool UseCompressedOops                        = true                           {product lp64_product} {ergonomic}
     bool UseG1GC                                  = true                                      {product} {ergonomic}

Logging:
Log output configuration:
 #0: stdout all=warning uptime,level,tags
 #1: stderr all=off uptime,level,tags

Environment Variables:
JAVA_HOME=/home/krosylight/.mozbuild/jdk/jdk-17.0.16+8
JAVA_TOOL_OPTIONS=-Dfile.encoding=utf-8
PATH=/var/home/krosylight/.mozbuild/srcdirs/firefox-50f78208886b/_virtualenvs/common/bin:/var/home/krosylight/.mozbuild/srcdirs/firefox-50f78208886b/_virtualenvs/mach/bin:/usr/local/bin:/usr/bin:/home/krosylight/.cargo/bin:/home/krosylight/.local/bin:/home/krosylight/Downloads/android-studio/bin
SHELL=/home/krosylight/.cargo/bin/nu
DISPLAY=:0
LANG=en_GB.UTF-8
TERM=xterm-256color

Active Locale:
LC_ALL=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C

Signal Handlers:
   SIGSEGV: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
    SIGBUS: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
    SIGFPE: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
   SIGPIPE: javaSignalHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, blocked
   SIGXFSZ: javaSignalHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, blocked
    SIGILL: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
   SIGUSR2: SR_handler in libjvm.so, mask=00100000000000000000000000000000, flags=SA_RESTART|SA_SIGINFO, blocked
    SIGHUP: SIG_DFL, mask=00000000000000000000000000000000, flags=none, blocked
    SIGINT: SIG_DFL, mask=00000000000000000000000000000000, flags=none, blocked
   SIGTERM: SIG_DFL, mask=00000000000000000000000000000000, flags=none, blocked
   SIGQUIT: UserHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, blocked
   SIGTRAP: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked


Periodic native trim disabled


---------------  S Y S T E M  ---------------

OS:
Fedora release 42 (Adams)
uname: Linux 6.16.10-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct  2 19:23:55 UTC 2025 x86_64
OS uptime: 0 days 2:28 hours
libc: glibc 2.41 NPTL 2.41 
rlimit (soft/hard): STACK 8192k/infinity , CORE infinity/infinity , NPROC 255134/255134 , NOFILE 524288/524288 , AS infinity/infinity , CPU infinity/infinity , DATA infinity/infinity , FSIZE infinity/infinity , MEMLOCK 8192k/8192k
load average: 5.22 4.12 3.47

/proc/meminfo:
MemTotal:       65655920 kB
MemFree:        12445900 kB
MemAvailable:   36209424 kB
Buffers:            2672 kB
Cached:         23547944 kB
SwapCached:            0 kB
Active:         12614316 kB
Inactive:       36350032 kB
Active(anon):   10071904 kB
Inactive(anon): 16177808 kB
Active(file):    2542412 kB
Inactive(file): 20172224 kB
Unevictable:         100 kB
Mlocked:             100 kB
SwapTotal:       8388604 kB
SwapFree:        8084552 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:              7172 kB
Writeback:             0 kB
AnonPages:      25415296 kB
Mapped:          3338236 kB
Shmem:           2258916 kB
KReclaimable:    1806592 kB
Slab:            2769416 kB
SReclaimable:    1806592 kB
SUnreclaim:       962824 kB
KernelStack:       75952 kB
PageTables:       194968 kB
SecPageTables:      7748 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    41216564 kB
Committed_AS:   58327692 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      185280 kB
VmallocChunk:          0 kB
Percpu:            97024 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
Unaccepted:            0 kB
Balloon:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      738524 kB
DirectMap2M:    35805184 kB
DirectMap1G:    30408704 kB

/sys/kernel/mm/transparent_hugepage/enabled: always [madvise] never
/sys/kernel/mm/transparent_hugepage/hpage_pmd_size: 2097152
/sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter): always defer defer+madvise [madvise] never

Process Memory:
Virtual Size: 17543872K (peak: 17543872K)
Resident Set Size: 19708K (peak: 19708K) (anon: 7032K, file: 12644K, shmem: 32K)
Swapped out: 0K
C-Heap outstanding allocations: 49978K, retained: 149K
glibc malloc tunables: (default)

/proc/sys/kernel/threads-max (system-wide limit on the number of threads): 510268
/proc/sys/vm/max_map_count (maximum number of memory map areas a process may have): 1048576
/proc/sys/vm/swappiness (control to define how aggressively the kernel swaps out anonymous memory): 60
/proc/sys/kernel/pid_max (system-wide limit on number of process identifiers): 4194304

container information not found.
Steal ticks since vm start: 0
Steal ticks percentage since vm start:  0.000

CPU: total 64 (initial active 64) (64 cores per cpu, 2 threads per core) family 23 model 49 stepping 0 microcode 0x830107d, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt
CPU Model and flags from /proc/cpuinfo:
model name	: AMD Ryzen Threadripper PRO 3975WX 32-Cores
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sev sev_es

Online cpus: 0-63
Offline cpus: 
BIOS frequency limitation: <Not Available>
Frequency switch latency (ns): 0
Available cpu frequencies: <Not Available>
Current governor: powersave
Core performance/turbo boost: 1

Memory: 4k page, physical 65655920k(12445900k free), swap 8388604k(8085156k free)
Page Sizes: 4k

vm_info: OpenJDK 64-Bit Server VM (17.0.16+8) for linux-amd64 JRE (17.0.16+8), built on Jul 15 2025 00:00:00 by "admin" with gcc 10.3.0

END.
Summary: ./mach android install-fenix` fails with OutOfMemoryError on Fedora toolbox → Gradle tasks randomly fail with OutOfMemoryError on Fedora toolbox

(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #6)

Alex, could this be something with https://searchfox.org/firefox-main/rev/91e6069b9c1e7289d0c727b5110e144edc589204/gradle.properties#11 ? Certainly it should not argue that resource is limited on a machine with 64G memory...

But it didn't go anywhere when I modified it to a higher value.

Maybe?

As Nick said, you should be able to override this with GRADLE_FLAGS. ./mach gradle definitely respects them, but I'm not sure about every command. There was some chatter a while back about possibly using that approach to having a larger heap allocation size in CI vs for local development.

IIRC from when I was experimenting with the values for it, bigger isn't necessarily better (Even if you have the available RAM). But maybe changing it will let you work around your problem. It's probably along the lines of treating the symptom rather than fixing the cause, though.

Flags: needinfo?(ahochheiden)

(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #7)

I got some error logs today:

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create worker GC thread. Out of system resources.
# Possible reasons:
#   Decrease Java heap size (-Xmx/-Xms)

That seems to indicate you'd want it lower, though, no? So it's not the heap size, it's the actual system (but you say there's plenty of RAM available, so maybe this is an OS specific error with Java misidentifying the available resources?).

The severity field is not set for this bug.
:polly, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(polly)
Type: defect → task
Flags: needinfo?(polly)
You need to log in before you can comment on or make changes to this bug.