Created
July 10, 2013 17:40
-
-
Save fbmnds/5968418 to your computer and use it in GitHub Desktop.
Iota needs main memory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; | |
| ;; iota bails out main memory: | |
| ;; | |
| user> (def test-file "/path/to/datafile-16gb.tsv") | |
| #'user/test-file | |
| user> (require '[iota] | |
| '[clojure.core.reducers :as r]) | |
| nil | |
| user> (time (def test-vec (iota/vec test-file))) | |
| OutOfMemoryError Java heap space java.util.Arrays.copyOf (Arrays.java:2245) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment