RStudio : pandoc takes all available memory


I am trying to knit a Rmd document using D3Network library. The input file is quite big (around 40 MB).
I get the following message : pandoc : out of memory.

My Rmd file only contains the file load and the following instruction :

d3SimpleNetwork(roadNET_TX, width = 400, height = 250)

I am really stuck.
My version of RStudio is 1.0.153. I am using Windows 8.1

Thank you in advance for your help.

Best regards,

RStudio 1.0.153 is quite old at this point -- can you consider updating to the latest release (v1.1.463) or even the preview release?