Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-11 Thread Adrian Cuthbertson
>I might look at the JEdit plugin though - JEdit is nice, for simple >editing, which might be good enough for me for now. I similarly haven't had time to relearn emacs and have used jedit quite sucessfully with jedit-mode. I keep one or more terminal window tabs open each with a REPL launched wit

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-11 Thread Eric Lavigne
> > > Incidentally, if you want a language with an editor built in, why not > look at Smalltalk? I vaguely recall that was a big part of the > original language concept. I haven't ever played with it myself, but > the most popular current flavour seems to be Squeak: > http://www.squeak.org/ > Sm

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-11 Thread Korny Sietsma
I have had similar problems with enclojure. But having gone through similar IDE pain working in Ruby on Rails, the Netbeans support ended up being way ahead of most IDEs, so I have hopes that enclojure will get there in time. (My biggest annoyance? The fact that you can't open existing code as

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-11 Thread e
great. will do. On Jan 11, 9:14 am, lpetit wrote: > Hello, > > If you like eclipse and would like to see where clojuredev (eclipse > plugin) is right now, you can give a quick look at the current state > of clojuredev by trying to immediately install it via the update site > link : > > http://c

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-11 Thread lpetit
Hello, If you like eclipse and would like to see where clojuredev (eclipse plugin) is right now, you can give a quick look at the current state of clojuredev by trying to immediately install it via the update site link : http://clojure-dev.googlecode.com/svn/updatesite/ Still not ready for publ

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread e
seems like enclosjure addresses a bunch of my problems/questions. It also seems to work like we wanted SLIME to work, more or less . . .where you attach to the vm that's used for execution . . . only you attach to the REPL, I think, which still accomplishes the goal of keeping the editor separate

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread Paul Mooser
If I'm not mistaken, this is fairly close to how SLIME works, when connected to a remote VM. The remote VM is running some server code which allows it to communicate with SLIME, which is running inside of emacs. On Jan 10, 2:15 pm, e wrote: > exactly. . . .but I bet a lot of people would just re

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread e
exactly. . . .but I bet a lot of people would just reply that this is not possible to address since the REPL is the one and only vm. Disclaimer, I'm only guessing at that, too. I don't understand any of this, yet. But if that's the case, fix that. Have the REPL send messages to the vm that's ru

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread e
thanks for the encouragement. As for eclipse, I just don't get the same feeling. I love the cntl- space and cntl-\ things that stub out your code (not just for dot completion). . . complete with cells for variables that repeat in the template (yeah they probably took this from emacs, but I can a

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread Paul Mooser
Yeah, I'm not really sure how I think the problem would be ideally solved. It would just be nice for an interactive programming environment to be able to recover from all exceptions that happen at a higher level than the VM itself. On Jan 10, 12:20 pm, "Christian Vest Hansen" wrote: > I don't th

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread Luc Prefontaine
Try this: http://github.com/djspiewak/jedit-modes/tree/master/clojure.xml I work with Eclipse on a daily basis because of the java code base I have to deal with but it was asking my computer to carry an elephant until... I got my hands on a quad-core with 6 Gig of RAM and I had loaded in RAM at b

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread e
i wondered about this when I was asking about eclipse analogies. The vm that runs a program that you are writing should have nothing to do with the vm your editor is using. Maybe there should be some way for the actual running program to be in one VM, and then the REPL communicates to it via RMI

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread Christian Vest Hansen
I don't think it is possible to define a way to deal with heap saturation that is general enough to cover all programs written in Clojure, and therefor I don't think this is something that the Clojure runtime should deal with at all. Personally, I only know of two ways to handle OutOfMemoryErrors

Re: SLIME: trouble with java.lang.OutOfMemoryError

2009-01-10 Thread Paul Mooser
After talking to Jeffrey Chu, it seems like what is actually happening is possibly fairly obvious (in retrospect) - the java process runs out of heap space, and there's not even enough memory to keep swank- clojure working properly. Jeffrey tried some examples with just a plain REPL (without SLIME