Hash max: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
[[hash_max]] sets how much memory PyMOL uses when ray tracing. | [[hash_max]] sets how much memory PyMOL uses when ray tracing. | ||
Higher values will enable PyMOL to ray trace more quickly, provided you can secure the necessary memory. Thus for large scenes, it can be useful to increase this value. Simpler scenes probably don't need it. If '''hash_max''' is set too high, then PyMOL can (and will) crash when it attempts to use more memory than available. | |||
Likewise, '''hash_max''' can be used to limit the use of memory to avoid crashes at the expense of increased computing time. | |||
== Syntax == | == Syntax == | ||
Line 6: | Line 8: | ||
set hash_max, int | set hash_max, int | ||
</source> | </source> | ||
where '''int''' is a positive integer. | where '''int''' is a positive integer. The default value is 100. | ||
== | == Example == | ||
<source lang="python"> | <source lang="python"> | ||
set hash_max, 200 | set hash_max, 200 |
Latest revision as of 08:52, 18 February 2014
Overview
hash_max sets how much memory PyMOL uses when ray tracing. Higher values will enable PyMOL to ray trace more quickly, provided you can secure the necessary memory. Thus for large scenes, it can be useful to increase this value. Simpler scenes probably don't need it. If hash_max is set too high, then PyMOL can (and will) crash when it attempts to use more memory than available. Likewise, hash_max can be used to limit the use of memory to avoid crashes at the expense of increased computing time.
Syntax
set hash_max, int
where int is a positive integer. The default value is 100.
Example
set hash_max, 200