joelday / papyrus-lang

📜Advanced language tools for the Papyrus scripting language.
Other
111 stars 19 forks source link

OutOfMemoryException (using 32bit DarkId.Papyrus.Host.Skyrim) #182

Open mrowrpurr opened 1 year ago

mrowrpurr commented 1 year ago

Request: could we please get a 64bit build of the DarkId.Papyrus.Host.Skyrim .NET executable?

image

I can't get mine to use even 2GB before it raises a OutOfMemoryException

I work on projects which depend on scripts from dozens of other mods and I would love it if the language server could use many gigs of my RAM so that I can work on my projects using this tool.

I wasn't able to compile the .NET project to generate a 64bit executable myself (can't find Antlr3.Utility in NuGet and PCompiler in NuGet says it's not compatible with net472, it's only compatible with good ol' versions of netcore)

I'd give this thing 32 gigs of RAM... whatever it wants... just give me my auto-completion.

nikitalita commented 1 year ago

We're in the middle of a big rewrite on the language server, and we'll definitely take a look at making 64-bit builds available. I think the main issue with it currently is that we have to be able to bind to Skyrim's PCompiler.dll, which I believe is 32-bit and may necessitate making the language server build 32-bit as well. However, we're currently moving to Caprica for our compiler library, which means we won't have any such limitation.