Use 3 GB of memory for Xojo app on Windows
bcdedit /set IncreaseUserVa 3072
Now you can use over 2900 MB of memory with your Xojo made app.
(detailed instructions)
This should also help the IDE as it needs a lot of memory for plugins and leaked memory.