Skip to content

Commit f3f0d4d

Browse files
author
Andreas Prlic
committed
small improvements
1 parent 6916925 commit f3f0d4d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

structure/bioassembly.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ Take a look at the method getBiologicalAssembly() in [StructureIO](http://www.bi
111111

112112
## Memory consumption
113113

114-
This next example loads the structure of the PBCV-1 virus capsid (PDB ID [1M4X](http://www.rcsb.org/pdb/explore.do?structureId=1m4x)). It has one of the largest, if not the largest biological assembly that is currently available in the PDB. It consists of 16 million atoms!
114+
This next example loads the structure of the PBCV-1 virus capsid (PDB ID [1M4X](http://www.rcsb.org/pdb/explore.do?structureId=1m4x)). It has one of the largest, if not the largest biological assembly that is currently available in the PDB. It consists of 16 million atoms! Needless to say it is important to change the maximum heap size parameter. It requires a minimum of 9GB RAM (on OSX) to load. You can change the heap size by providing this startup parameter:
115+
<pre>
116+
-Xmx10G (assuming you have 10G or more of RAM available on your system)
117+
</pre>
118+
Note: when loading this structure with 9GB of memory, the Java VM spends a significant amount of time in garbage collection (GC). If you provide more RAM than the minimum requirement, then GC is triggered less often and the biological assembly loads faster.
115119

116120
<table>
117121
<tr>
@@ -135,7 +139,7 @@ public static void main(String[] args){
135139

136140
// This loads the PBCV-1 virus capsid, one of, if not the biggest biological assembly in terms on nr. of atoms.
137141
// The 1m4x.pdb1.gz file has 313 MB (compressed)
138-
// This Structure requires about 8 GB of memory to be loaded in memory.
142+
// This Structure requires a minimum of 9 GB of memory to be loaded in memory.
139143

140144
String pdbId = "1M4X";
141145

0 commit comments

Comments
 (0)