I've been poking at VOSviewer while helping a student figure out whether it'll be helpful for a bibliographic analysis project, and I was stymied by running out of memory when attempting to work with a large dataset. The manual (PDF) unhelpfully addresses this issue with a whole section:
But there is no VOSviewer.jar file to be found anywhere in the Windows installation package, so that command doesn't work, at least on my system. I was able to find VOSviewer.jar on macOS by right-clicking the program file and choosing to Show Package Contents, but even after doing the same on Windows by unzipping the executable file, there's no VOSviewer.jar file.
I thought I'd throw the problem at ChatGPT, and after a couple of suggestions that didn't work, it suggested creating a batch file that would add the memory addition flag to the launching of the program and it worked!
Here's what that looks like: