MEGAN 轉(zhuǎn)換daa文件為rma文件時(shí)報(bào)錯(cuò)
報(bào)錯(cuò)信息為:
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)
參考網(wǎng)址
http://megan.informatik.uni-tuebingen.de/
在MEGAN社區(qū)網(wǎng)站上將錯(cuò)誤信息輸入,得到的解答是內(nèi)存分配的不夠。
最低內(nèi)存16G,越大越好
修改方法
將安裝包中的MEGAN.vmoptions文件中的-Xmx參數(shù)進(jìn)行修改
默認(rèn)值是-Xmx2000M
我修改成了-Xmx5000M,700M的數(shù)據(jù),5分鐘左右,就轉(zhuǎn)換完成了。
修改完成的文件內(nèi)容如下:
# 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