Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Increase Java heap size before calling rJava#1

Open
selftext wants to merge 1 commit intomasterfrom
increase_java_heap_size
Open

Increase Java heap size before calling rJava#1
selftext wants to merge 1 commit intomasterfrom
increase_java_heap_size

Conversation

@selftext
Copy link
Copy Markdown

@selftext selftext commented May 6, 2015

The redshift library depends on rJava, which sets a limit on the amount of memory available.

Some queries that return a lot of results will fail with the error:

java.lang.OutOfMemoryError: Java heap space

This PR increases the Java heap size prior to calling redshift.

More info on rJava memory constraints here:
http://www.bramschoenmakers.nl/en/node/726

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant