XAMPP really really slow on reloading?
Hey!
I use XAMPP for my local web development projects. It works beautifully except after about 20 minuets of use it locks up on refresh. I get this both under Safari and Chrome so its not a browser issue as far as I know.
It takes 2 minuets to come off the page you were last on to get to the one you clicked on. This apeers to be on pages with SQL queries (My SQL skills are so crap, I could win an award for it ) for a post on a forum or something. Although this is unlikely as the homepage works fine and it has about 3 SQL queries in it compared to several others on the other page.
So.... Yeah....
Any ideas? Thanks
EDIT:
Sometimes, this can be remedied by starting at the index page and navigating to the page with the issues manually.
UPDATE 2:
It appears to do it on all pages actually... God this is annoying.
Yet another edit:
I have just noticed I have the following open:
Chrome with 2 windows open with 12 tabs all together.
Skype
Sublime Editor 2 with 24 tabs open
Xcode with 2 windows open
iTunes is running.
Im also watching a Youtube video along with 2 Preview windows running.
Im running OSX Lion by the way.
I dont think its all this as Im not feeling the Mac taking any strain what so ever. Specs:
i5 Sandy Bridge @ 2.5 Ghz with 4GB of ram.
_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.

To me, it sounds like it's a serverside script running on one of the pages you have opened, and it freezes until it's done. Default runtime before an error message is given usually are 1 min, but if you have changed it to 2 mins, then that could be the explaination. Or perhaps you use up all the memory, and never free any up, until after 20 minutes XAMPP needs a restart.
_________________
AQ: 42/50 || SQ: 32/80 || IQ(RPM): 138 || IRI-empathytest(PT/EC/FS/PD): 10(-7)/16(-3)/19(+3)/19(+10) || Alexithymia: 148/185 || Aspie-quiz: AS 133/200, NT 56/200
[quote="Madbones"
Any ideas? Thanks [/quote]
Idea 1: Stop using a text editor and switch to a proper IDE for development, you will thank me for it.
Idea 2: Use a php profiler and it will tell you exactly how long each piece of code and query takes to execute to the nearest millisecond. It takes all the guess work out optimisation.