You can allocate more ram when you start JOSM using this command

java -jar -Xmx32G josm-tested.jar

You can replace 32G with the amount of ram you wish to allocate to JOSM.

If you don't have the memory available to load the file, I can split it up so that JOSM can digest it easier.