Comments (3)
Are all the trees held in memory? That is obviously unnecessary for a resume.
Sent from my iPhone
On 1/02/2014, at 9:30 AM, Joseph Heled [email protected] wrote:
I start with the largest possible -Xmx my 32bit cpu/java allows on my laptop. The trees file "only" 340M, and Remco says he successfully resumed larger files.
The file can be downloaded from
https://dl.dropboxusercontent.com/u/5675908/conus-al.tar.bz2java -ea -Xmx2500m -Xss2024k -jar ... -seed 666 -resume conus-al.xml
...
Start likelihood: -30613.211722592572
Appending file conus-al.log
Sample posterior ESS(posterior) likelihood prior
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuilder.append(StringBuilder.java:119)
at beast.core.Logger.openLogFile(Unknown Source)
at beast.core.Logger.init(Unknown Source)
at beast.core.MCMC.run(Unknown Source)
at beast.app.BeastMCMC.run(Unknown Source)
at beast.app.beastapp.BeastMain.(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)—
Reply to this email directly or view it on GitHub.
from beast2.
The code needs to extract the sample number and remove the last 'End;' line, so it seems it can write out the new log file while reading (to a new term file) and do the rename at the end. Since this is the obvious way I assume there was a reason why the original code read all the trees in, and would rather wait for Remco to have a look.
from beast2.
Using -Xmx8g instead of -Xmx2500m solves this problem.
Also, fixed the code to keep tree not in memory.
from beast2.
Related Issues (20)
- BEAUti stopped working HOT 3
- BEAST2.7.3 bash script requires to set "$LD_LIBRARY_PATH" in env
- Tree::init() fails for trees with > 9999 taxa
- Beagle jar update
- AVMN operator sometimes proposes NaN values
- Provide access to CBAN clone when default is not accessible
- treeannotator 2.7.3 relabels taxa with -lowMem HOT 2
- Prep for v2.7.4 release
- TreeAnnotator error: clade.getCount=(92) should be <= totalTreesUsed = (90) HOT 11
- Stochastic model runs, but deterministic version does not
- Mac release err: hdiutil create failed - Permission denied
- ant build jarbundler jvm_version >= 17
- BEAUti file Mode/Allow parameter linking fails
- Unable to open HOT 3
- Optimise State.calculateCalcNodePath()
- Installation trouble HOT 13
- using a MRCA + snapper made mismatches with Taxon ~ TaxonSet labels HOT 2
- BEAUTI frozen: sb3TREEPriors HOT 21
- Tip date estimation with BDSKY tree prior and date consistency in DensiTree plots HOT 3
- Windows batch files do not specify memory limit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beast2.