Fix pandoc "out of memory" error when running profvis R package

I am trying to use the profvis package to perform the profiling of a large job in R (64 bit), run under RStudio, run under Windows 7. profvis continues to crash, and I get an error message saying that Pandoc is out of memory. The message will be copied below.

My understanding and please correct me if this is wrong is that the problem may go away if I can set the / LARGEADDRESSAWARE switch to Pandoc. And for this I need to install the linker, etc., Make my own assembly, learning how to do it all. Or there is a shortcut that includes installing MS Visual Studio, running the editbin utility and configuring this switch. However, the new installation of Visual Studio is unhappy with my machine and requires me to fix some unspecified issue with the Windows Management Tool before it moves forward.

So my question is this: is there a way to set the / LARGEADDRESSAWARE switch to Pandoc from inside R?

+4
source share
1 answer

I had a similar problem and I was able to solve it by following the advice https://www.techpowerup.com/forums/threads/large-address-aware.112556/ . See the message where it has the attached laa_2_0_4.zip file. I downloaded it and ran the executable file that it contains. The main mode was sufficient; I simply went to C: / Program Files / RStudio / bin / pandoc / pandoc and turned on the checkbox for the A Large Aware checkbox (step 2), then completed Commit Changes (step 3). After that, the pandoc command called by the pro eventually ran to success. I was able to monitor pandoc memory consumption in task manager to a maximum of about 2.7 GB.

0
source

Source: https://habr.com/ru/post/1654202/


All Articles