You are fine.
So is this dangerous or is it fine? Like it helped my game alot I dont
lag at all. But if it is dangerous what damage would it do?
Regardless of what you set virtual memory (paging file size) to, the OS will work hard to keep active portions of memory in RAM. As Fortnight consumes more RAM, more less-active portions of memory will be "paged out" to disk. This is great.
In fairness, the OS isn't perfect, and you could see some lag if the OS pages out something relevant to the game by accident. If so, quit other (non-Fortnight) programs that are running and try again. It is hard to believe that whatever result would be worse than if you didn't have the page file.
As far as damage, you will not damage your computer by adjusting this setting. You could conceivably set the page file size high enough that you'd run out of disk space for saving data, but it sounds like you aren't at risk of that right now. Keep in mind that a page file can exist on each drive letter, and will count against that disk's capacity.
Good luck with your game!
3Additionally virtual memory won’t solve latency issues In Fortnite. No; It’s not dangerous – Ramhound – 2018-07-28T00:10:24.103
1Can you clarify if you hard drive is actually a hard drive or an SSD? – JakeGould – 2018-07-28T01:28:44.347
Well, even if you have an SSD—which I will state I believe would provide better virtual memory performance over an actual hard drive—I will say the most obvious answer is to a question not asked: Why not bump up your RAM to something like 12GB or 16GB? Is it a physical/logical issue with your system? Or you simply don’t have a budget for something like this. In general, my recommendation if you have a genuine concern like this is to simply buy more RAM and upgrade the system properly so it can do what you want it to do. – JakeGould – 2018-07-28T04:28:35.280