Fork me on GitHub
#emacs
<
2018-11-28
>
theeternalpulse00:11:55

I just put magit through the ringer with a crazy cherry pick. Magit kept forgetting that it was doing a cherry pick and I had to go back to the terminal to manually continue the cherry pick. It also didn't pick up some changes that I had to view in the terminal client. I can't say why exactly my use case was crazy, but I also spent half a day on it so I am not eager to replicate it. Has something like this happened to anyone else?

kommen09:11:52

@theeternalpulse check your magit-process buffer for anything suspicious

jeff.terrell13:11:30

Yeah, that's the first thing I'd look at, if you haven't already. $ from a status buffer should switch to it. @theeternalpulse

andrea.crotti15:11:10

Melpa seems to be dead 😨

vemv15:11:30

I was going nuts because precisely this morning I was proceeding to install emacs on a new Mojave machine... was chasing TLS issues and whatnot

blance23:11:37

has anyone ever seen outofmemory error with clj-refactor? i'm just trying to rename a symbol, but got OutOfMemoryError: Java heap space I modified jvm-opts with Xmx5g and it's still not enough. I then increased it to 8g, but got java.lang.OutOfMemoryErrorRequested array size exceeds VM limit

narendraj909:11:49

Do you see a stacktrace that you can share?

blance19:11:09

error in process filter: Error in nrepl-refactor: 
                                [0mclojure.core/[34mprint-map[0m  [36m            core_print.clj:  238[0m
                         [0mclojure.core/[34mprint-prefix-map[0m  [36m            core_print.clj:  229[0m
                         [0mclojure.core/[34mprint-sequential[0m  [36m            core_print.clj:   66[0m
                      [0mclojure.core/print-prefix-map/[34mfn[0m  [36m            core_print.clj:  233[0m
                                    [0mclojure.core/[34mpr-on[0m  [36m                  core.clj: 3666[0m
                                                   [0m...[0m  [36m                                [0m
                                       [0mclojure.core/[34mfn[0m  [36m            core_print.clj:  266[0m
                                [0mclojure.core/[34mprint-map[0m  [36m            core_print.clj:  238[0m
                         [0mclojure.core/[34mprint-prefix-map[0m  [36m            core_print.clj:  229[0m
                         [0mclojure.core/[34mprint-sequential[0m  [36m            core_print.clj:   66[0m
                      [0mclojure.core/print-prefix-map/[34mfn[0m  [36m            core_print.clj:  233[0m
                                    [0mclojure.core/[34mpr-on[0m  [36m                  core.clj: 3666[0m
                                                   [0m...[0m  [36m                                [0m
                                       [0mclojure.core/[34mfn[0m  [36m            core_print.clj:  266[0m
                                [0mclojure.core/[34mprint-map[0m  [36m            core_print.clj:  238[0m
                         [0mclojure.core/[34mprint-prefix-map[0m  [36m            core_print.clj:  229[0m
                         [0mclojure.core/[34mprint-sequential[0m  [36m            core_print.clj:   66[0m
                      [0mclojure.core/print-prefix-map/[34mfn[0m  [36m            core_print.clj:  233[0m
                                    [0mclojure.core/[34mpr-on[0m  [36m                  core.clj: 3666[0m
                                                   [0m...[0m  [36m                                [0m
                                       [0mclojure.core/[34mfn[0m  [36m            core_print.clj:  124[0m
                            [0mjava.io.StringWriter.write[0m  [36m         StringWriter.java:  101[0m
                         [0mjava.lang.StringBuffer.append[0m  [36m         StringBuffer.java:  270[0m
                [0mjava.lang.AbstractStringBuilder.append[0m  [36mAbstractStringBuilder.java:  448[0m
[0mjava.lang.AbstractStringBuilder.ensureCapacityInternal[0m  [36mAbstractStringBuilder.java:  124[0m
                               [0mjava.util.Arrays.copyOf[0m  [36m               Arrays.java: 3332[0m
[31mjava.lang.OutOfMemoryError[0m: [0mRequested array size exceeds VM limit[0m

blance19:11:51

sorry.. there's some weird char that emacs can't display

narendraj907:11:22

I had a similar problem when I was dealing with a repository of pretty old code that had thousands of lines of Clojure.

narendraj907:11:09

With these hacks https://github.com/narendraj9/refactor-nrepl , I was able to at least see usages and rename symbols. I do not use them anymore as I am no longer working on that specific project.

blance22:11:10

thanks! i'll try that out

blance23:11:56

couldn't find any related issue online:disappointed: