I often get this error when experimenting with clojure.  I just pasted
Stuart's new 'snakes' code into the repl and received this error after
almost every  line.

I've never seen this error before, and I do Java programming all day.
My Java code is multi-threaded, processes lots of data...in other
words, my machines resources get exercised fairly well.  I'm not sure
why clojure throws this exception after defining just a namespace!

According to google, this "storage" doesn't refer to disk space,
rather to the heap (again, I have apps that load a gigabyte in memory,
they crash in all kinds of spectacular ways but never with this
exception).

I have seen this on my office desktop as well as home laptop.

Any ideas?

Thanks

-------Exception example-------------
C:\proj\clojure>java -jar clojure.jar
Clojure
user=> (ns examples.snake
java.io.IOException: Not enough storage is available to process this
command
user=>   (:import (java.awt Color) (javax.swing JPanel JFrame Timer
JOptionPane)
java.io.IOException: Not enough storage is available to process this
command
user=>            (java.awt.event ActionListener KeyListener))
java.io.IOException: Not enough storage is available to process this
command
user=>   (:use clojure.contrib.import-static
java.io.IOException: Not enough storage is available to process this
command
user=>   [clojure.contrib.seq-utils :only (includes?)]))
java.io.IOException: Not enough storage is available to process this
command
user=> (import-static java.awt.event.KeyEvent VK_LEFT VK_RIGHT VK_UP
VK_DOWN)
java.io.IOException: Not enough storage is available to process this
command
user=>
java.io.IOException: Not enough storage is available to process this
command
user=> ; Game board and coordinates. points are [x,y] vectors
java.io.IOException: Not enough storage is available to process this
command
user=> (def width 75)
java.io.IOException: Not enough storage is available to process this
command
user=> (def height 50)
java.io.IOException: Not enough storage is available to process this
command
user=> (def point-size 10)
java.io.IOException: Not enough storage is available to process this
command
user=> (def turn-millis 75)
java.io.IOException: Not enough storage is available to process this
command
user=> (def win-length 5)
java.io.IOException: Not enough storage is available to process this
command
user=>
....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to