Skip to content

outOfMemory

Jeremy Faden edited this page Jun 14, 2024 · 3 revisions

Introduction

The Java Runtime Environment, which Autoplot runs within, has the problem that the amount of memory allocated to it is fixed, and because of this Autoplot will often encounter an "Out of Memory" error. By default, Autoplot runs within a 1GB (gigabyte) Java Virtual Machine (JVM), because this works for both 32bit and 64bit Java Runtime Environments. So even if the machine has 16GB available to it, the virtual machine will still only use 1GB.

What to do when Autoplot runs out of memory

  • run with a 64 bit machine (newer machines are 64bit), with a 64bit Java. This is better able to utilize the default 1GB system memory available, and is easily increased to more memory.
  • run with more memory with the Java switch -Xmx8GB.
  • launch Autoplot with a bigger JVM with webstart: http://autoplot.org/autoplot.jnlp?max-heap-size=4G
  • run using the single-jar release, which will now get more memory when launched: java -jar autoplot.jar

Table Of Contents

URIs that Point to Data Files

Download a CDF and Plot it with Autoplot

Load a CDF directly from a website

URIs that Point to Data Servers

Saving to vap files

Loading vap files

Data Sources

CDF Files

HDF/NetCDF Files

Aggregation

CDAWeb

HAPI Servers

Exporting Data

Export Types

Additional controls

Aggregation

Tools

PNGWalk Tool

Data Mash Up

Events List

Run Batch

Advanced Topics

TimeSeriesBrowse and other Capabilities

Events Lists

Caching

Autoranging

Managing Autoplot's Data Cache

Using Autoplot with Python, IDL, and Matlab

Reading data into Python

Reading data into IDL

Reading data into Matlab

QDataSet Data Model

Clone this wiki locally