(Average)Pages/sec = 1.084,12; An extremely high rate of paging active memory to disk is occurring. Your application may be memory-bound.
This is the warning Visual Studio 2013 gives me when I run the performance analysis tool. I found this question on stackoverflow which is similar to mine, but doesn't answer all of my questions.
1)My program heavily utilizes global vars(they are in a struct like object) could excessive reading and writing to it cause this problem?
2) What exactly is the problem? I though it was some kind of memory leak. Run the program for 10 hours straight. There is no memory leak. I though maybe program was writing/reading to HDD excessively. Used resource monitor to track that, never goes above 1000 byte/sec. Which is quite low.
3)Should I be worried? If it's an indication that the program is writing to the HDD excessively, I'd have to fix it(don't want to ruin SSD). If that's not it, I really don't feel like rewriting the whole code.
If you want to see the code in all it's glory(!)you can check it out on github.