Hash max: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
[[hash_max]] sets how much memory PyMOL uses when ray tracing. Use more then PyMOL will ray trace more quickly, less it's slower. For large scenes,  it's useful to turn up this value.  Simpler scenes probably don't need it.  If you set '''hash_max''' too high, then PyMOL can (and will) crash if it can't secure the necessary memory.
[[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.  (I'm not actually sure what good boundaries are for the hash_max setting. Anyone?)
where '''int''' is a positive integer.  The default value is 100.


== Exmaple ==
== Example ==
<source lang="python">
<source lang="python">
set hash_max, 200
set hash_max, 200
Line 17: Line 19:


[[Category:Settings|Hash_Max]]
[[Category:Settings|Hash_Max]]
[[Category:Performance]]

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

See Also

ray, png, draw