snap

snap#

SNAP tools

Functions

bytes2snap(nof_bytes)

Convert nof bytes into snap-compatible Java options.

get_gpt_cli(graph_path, other_args[, ...])

Get GPT command line with system OK optimizations.

get_snap_version()

Get SNAP version with a call to GPT --diag

Module Attributes

SU_MAX_CORE

Maximum core to use, default is total of your CPU minus 2.

JAVA_OPTS_XMX

Maximum memory to use, default is 95% of the total virtual memory.

SU_SNAP_TILE_SIZE

SNAP tile size, 512 by default.

SU_SNAP_LOG_LEVEL

SNAP log level, WARNING by default.