Ola Theander
Ola Theander
Hi, I have the exact same problem but for a Scala project using nvim-metals for the LSP. Seems to be a subset of methods, for some it works fine but...
@tgodzik a bit embarrassing but I haven't managed to figure out how to configure the `-Xmx` setting for metals in my tool-chain: nvim -> nvim-metals -> metals. Any pointer in...
OK, I think I bumped the heap-size correctly, added `serverProperties` to the neovim config as: ``` metals_config.settings = { showImplicitArguments = true, excludedPackages = { "akka.actor.typed.javadsl", "com.github.swagger.akka.javadsl" }, serverProperties =...
Seems like I celebrated a bit early, new OOMs appears but seems to be a different stack-trace: ``` Flag -Ximport-suggestion-timeout set repeatedly Exception in thread "pool-2-thread-177" java.lang.OutOfMemoryError: Java heap space...
I just recently configured neovim for Scala so I haven't tried that many different projects; basically just this particular project, the metals project and some very small hello-world:ish projects. It...
I'll try that. FYI, I did try to set the a ridiculously high value `-Xmx16G` and it seems to help. No OOMs so far, thus it seems like at least...
Did try to add ``` serverProperties = { "-Xmx5G", "-Dmetals.loglevels=debug", "-Dmetals.statistics=all" } ``` but it didn't affect the logging in shown by `MetalsToggleLogs`, only `INFO` and above are logged. Does...
Now it worked. I got a bunch of these in the log: ``` 2023.09.04 17:48:35 DEBUG SemanticdbPath(/.bloop/schema/bloop-bsp-clients-classes/classes-Metals-PwrQptAzRAGT7JKkPNO3sg==/META-INF/semanticdb/schema/target/scala-3.2.2/src_managed/main/.../.../SomeClass.scala.semanticdb) is not yet ready com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended...
I have discovered an additional property of the problem; by request of my client I had the Scala source on an `eCryptfs` partition. As an experiment I moved the code...
Hi, That buffer id does not exist (it's always =1 it seems) in the list produced by `: ls!`: ``` :ls! 2u h "[Scratch]" line 0 3u h- "Calltree Help"...