Re: ritz-nrepl starts up slowly?
yizhen wei yizhenwe...@gmail.com writes: I found that my ritz-nrepl takes 25 plus seconds to start. While the nrepl would only take 10 secs. The difference is mainly due to the extra jvm process that is started. I also noticed that the lein ritz-nrepl (or M-x nrepl-ritz-jack-in inside of emacs) would start 3 java processes which consumes total of 800mb memory. One vm is from lein, and can be removed by invoking lein with trampoline. The extra process that is started is used to control the debugger. I've not looked at all into optimising the memory footprint of the debugger vm, and I would be surprised if it couldn't be improved. But after I close the server in terminal (or emacs), only 2 of them are closed, and I have to explicitly kill the remaining one. The killing of the user process is currently not very reliable. Hugo -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ritz-nrepl starts up slowly?
The killing of the user process is currently not very reliable. This might be an Emacs bug (at least on Windows). The problem is there even for nrepl without ritz (some java process will still dangle there after exiting nrepl). What I did to work around this is to add some code/advice to call interrupt-process before killing a process. Seems just killing a process will not kill the sub processes. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ritz-nrepl starts up slowly?
You could try lein -o to make sure that your startup isn't blocking on network. On 14 May 2013 01:50, yizhen wei yizhenwe...@gmail.com wrote: I heard using a sdd can reduce the time a lot. Maybe 5x? Can someone confirm on that? On Monday, May 13, 2013 6:17:38 PM UTC-4, Warren Lynn wrote: Is it normal to take this long to start the repl? I don't know if it is normal. But I can confirm it takes much longer to start ritz-nrepl compared to nrepl only, which itself is already kind of slow. The slow speed really is killing a lot of fun here. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ritz-nrepl starts up slowly?
Is it normal to take this long to start the repl? I don't know if it is normal. But I can confirm it takes much longer to start ritz-nrepl compared to nrepl only, which itself is already kind of slow. The slow speed really is killing a lot of fun here. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: ritz-nrepl starts up slowly?
I heard using a sdd can reduce the time a lot. Maybe 5x? Can someone confirm on that? On Monday, May 13, 2013 6:17:38 PM UTC-4, Warren Lynn wrote: Is it normal to take this long to start the repl? I don't know if it is normal. But I can confirm it takes much longer to start ritz-nrepl compared to nrepl only, which itself is already kind of slow. The slow speed really is killing a lot of fun here. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
ritz-nrepl starts up slowly?
Hi, I found that my ritz-nrepl takes 25 plus seconds to start. While the nrepl would only take 10 secs. I'm using ubuntu 13.05 with 2.3g dual core and 4gb ram. My project contains around 7 dependencies. Is it normal to take this long to start the repl? I also noticed that the lein ritz-nrepl (or M-x nrepl-ritz-jack-in inside of emacs) would start 3 java processes which consumes total of 800mb memory. But after I close the server in terminal (or emacs), only 2 of them are closed, and I have to explicitly kill the remaining one. Am I missing something? -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.