MEGAN 转换daa文件为rma文件时报错
报错信息为:
10% 20% 30% Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at megan/megan.accessiondb.AccessAccessionMappingDatabase.getValues(AccessAccessionMappingDatabase.java:236)
at megan/megan.rma6.RMA6FromBlastCreator.parseFiles(RMA6FromBlastCreator.java:265)
at megan/megan.tools.DAA2RMA6.createRMA6FileFromDAA(DAA2RMA6.java:350)
at megan/megan.tools.DAA2RMA6.run(DAA2RMA6.java:313)
at megan/megan.tools.DAA2RMA6.main(DAA2RMA6.java:68)
at megan6u/megan6u.tools.DAA2RMA6.main(Unknown Source)
参考网址
http://megan.informatik.uni-tuebingen.de/
在MEGAN社区网站上将错误信息输入,得到的解答是内存分配的不够。
最低内存16G,越大越好
修改方法
将安装包中的MEGAN.vmoptions文件中的-Xmx参数进行修改
默认值是-Xmx2000M
我修改成了-Xmx5000M,700M的数据,5分钟左右,就转换完成了。
修改完成的文件内容如下:
# Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
# -Xmx512m
# To include another file, uncomment the following line:
# -include-options [path to other .vmoption file]
#-Xmx2000M
-Xmx5000M
网友评论