MantisBT - MEGA
View Issue Details
0000363MEGAMain Formpublic2017-01-13 11:342017-01-27 13:21
guest 
gstecher 
normalminorhave not tried
resolvedno change required 
PCWindows10
MEGA 11 (Graphical Interface version) 
 
Nick
Waters
nickdwaters@gmail.com
nickdwaters@gmail.com
0000363: Memory leak during ML phylogenetic analysis
Windows 10 x64 (8 gb RAM) wants to shut MEGA down due to lack of memory about halfway through ML phylogenetic analysis. I increased pagefile to 32 gb and it still ran out of physical and pagefile virtual memory, completing only 109 of 250 bootstraps. Note: Closing the analysis windows such that MEGA GUI is all that is running still does not release memory! Once you exit MEGA then memory is released. This problem only occurs when selecting Construct/Test Maximum-likelihood tree. The other tree building methods do not cause the problem. Memory is also not released when aborting tree building.



The analysis uses 56 sequences with 1142 nucleotides.

Evolutionary model does not matter.

Problem only occurs during Construct/Test Maximum-likelihood tree. All models exhibit the problem. The only setting which appears to allow construction to finish is to mitigate the problem by reducing SPR from 5 to 3, and setting Branch Swap Filter to weak. However, even when the tree is finished, memory is still not released. If you Stop analysis, memory is not released.

Analysis
  Analysis ------------------------ Phylogeny Reconstruction
  Statistical Method -------------- Maximum Likelihood
Phylogeny Test
  Test of Phylogeny --------------- Bootstrap method
  No. of Bootstrap Replications --- 250
Substitution Model
  Substitutions Type -------------- Nucleotide
  Model/Method -------------------- Tamura-Nei model
Rates and Patterns
  Rates among Sites --------------- Gamma Distributed (G)
  No of Discrete Gamma Categories - 16
Data Subset to Use
  Gaps/Missing Data Treatment ----- Complete deletion
Tree Inference Options
  ML Heuristic Method ------------- Subtree-Pruning-Regrafting - Extensive (SPR level 5)
  Initial Tree for ML ------------- Make initial tree automatically (Default - NJ/BioNJ)
  Branch Swap Filter -------------- None
System Resource Usage
  Number of Threads --------------- 4
Codons Included ------------------- 1st+2nd+3rd+Non-Coding
I've attached the sequence data for you to explore. I've enjoyed using MEGA for several years. Hope the problem is resolved soon.
No tags attached.
? cytb_cleaned_aligned_with_Nielsen_and_outgroups_trimmed reduced ASMO v4.mas (66,396) 2017-01-13 11:34
https://megasoftware.net/mantis_bt/
Issue History
2017-01-13 11:34guestNew Issue
2017-01-13 11:34guestFile Added: cytb_cleaned_aligned_with_Nielsen_and_outgroups_trimmed reduced ASMO v4.mas
2017-01-27 13:21gstecherNote Added: 0003749
2017-01-27 13:21gstecherStatusnew => resolved
2017-01-27 13:21gstecherResolutionopen => no change required
2017-01-27 13:21gstecherAssigned To => gstecher

Notes
(0003749)
gstecher   
2017-01-27 13:21   
Hi Nick,

I am writing in response to the bug report you recently submitted regarding the MEGA software. To reduce the amount of memory used for your analysis, you should reduce the number of gamma categories used (you are using 16 where as the default is 5) as that setting increases the amount of RAM required linearly.

--
Best regards,

Glen Stecher
Institute for Genomics and Evolutionary Medicine
igem.temple.edu