cytoscapeFreeMemory {RCy3} | R Documentation

## Free Up Unused Memory for Cytoscape

### Description

Manually call Java's garbage collection `System.gc()` to free up unused memory. This process happens automatically, but may be useful to call explicitly for testing or evaluation purposes.

### Usage

    cytoscapeFreeMemory(base.url = .defaultBaseUrl)

### Arguments

`base.url` | (optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3.

### Value

status message

### Author(s)

Alexander Pico

### Examples

    cytoscapeFreeMemory()
    # [1] "Unused memory freed up."

[Package RCy3 version 2.6.3 Index]