Closed baev closed 9 years ago
@baev more details please.
I have a folder with huge amount of results (10k files). java.lang.OutOfMemoryError
occurs when I try to generate the report using allure generate my-results/ -o my-report/ -v 1.4.13
. But if I use DummyReportGenerator
report generated successfully. As you can see form stack trace - the problem is directory scanner which search results by ant pattern.
Summon @eroshenkoam. @baev probably we could replace this by java.nio classes like java.nio.Files.walkFileTree().
Same thing for me. I have 5 suites, 750 tests each. Each test has 3 *.json file for each API call. 2-5 API calls per tests. ~4Gb data
How can i configure java memory for report generator? I use mvn site with pom.xml
mvn -DresultsPattern=/
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-testng</artifactId>
<version>1.0-SNAPSHOT</version>
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<outputDirectory>${outputDirectory}</outputDirectory>
<resultsPattern>${resultsPattern}</resultsPattern>
<reportVersion>1.4.1</reportVersion>
<failReportIfEmpty>false</failReportIfEmpty>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
The issue fixed in new command line tool. See http://wiki.qatools.ru/display/AL/Allure+CLI
Using
DummyReportGenerator
report generated successfully