You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding JUnit5-assert may lead to java.lang.OutOfMemoryError: Java heap space
2
+
3
+
Having a huge class path may lead to OOM, because AspectJ processes all the classes. [Link to documentation](https://www.eclipse.org/aspectj/doc/released/devguide/ltw.html)
4
+
5
+
You can configure AspectJ to only process required classes
6
+
* a) package io.qameta.allure -> to process Allure classes
7
+
* b) package org.junit -> to process JUnit classes
8
+
* c) package com.company -> to process your test classes
9
+
10
+
Link to documentation https://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html#configuring-load-time-weaving-with-aopxml-files
11
+
12
+
In order to avoid this issue add aop.xml into `resources/META-INF/` folder.
0 commit comments