I'm writing little RPG mod and after running 20-30min script starts to generate "Access violation... " errors. I know what that means but I have no idea what may be causing it. Also, script seems to work fine on the Dedicated Server which I'm running on my PC (WindowsXP OS). The errors only occur on a server rented from a hosting company. I've checked the source code many times, it maybe a little messy but it's 100% correct (at least to my knowledge). The whole code is more then 2,5k lines long so I wont post it here. Does anyone have any idea what may be causing this error?
PS. I've searched this forum and didn't find any decent info about this error and how to fix it.