三叶草数据库的文件大小限制是否为2GB?

时间:2011-07-06 08:18:29

标签: java code-coverage clover

我们有3个三叶草dbs,一个用于客户端测试,集成测试和单元测试。

为了计算总覆盖率,我们将这些数据库合并为一个新的三叶草数据库: 正如您所看到的,这可以按预期工作(现在已经超过18个月了)

[clover-merge] Clover Version 3.0.3, built on October 26 2010 (build-dev) 
[clover-merge] Loaded from: C:\devtools\clover-ant-3.0.2-patch101026\lib\clover.jar 
[clover-merge] Clover: Commercial License registered to ... 
[clover-merge] Merging database 1 of 3: d:\coverage\java\all\coverage/clienttests\coverage.db 
[clover-merge] Merging database 2 of 3: d:\coverage\java\all\coverage/integrationtests\coverage.db 
[clover-merge] Merging database 3 of 3: d:\coverage\java\all\coverage/junit\coverage.db 
[clover-merge] Writing merged database registry [clover-merge] Merge complete 

自上周末以来,我在尝试从合并的coveragedb文件生成报告时遇到以下问题:

[clover-report] Clover Version 3.0.3, built on October 26 2010 (build-dev) 
[clover-report] Loaded from: C:\devtools\clover-ant-3.0.2-patch101026\lib\clover.jar 
[clover-report] Clover: Commercial License registered to ... 
[clover-report] Loading coverage database from: 'd:\coverage\java\all\clover\cloverDB\coverage.db' 
[clover-report] Report generation failed: Clover encountered a problem reading the instrumentation registry "d:\coverage\java\all\clover\cloverDB\coverage.db". This database may have been corrupted. Please regenerate. 

我检查了文件,注意到它的大小是(根据Windows资源管理器):2,08 GB(2.244.583.202字节),刚刚超过2GB。 我不知道前一个周末的大小,因为我们没有保持覆盖dbs, 但由于程序中没有其他变化,我认为2GB是问题所在。

0 个答案:

没有答案