-
2 Attachment(s)
Freezing/Issues on VPS
I'm botting on a VPS running windows server 2008 R2.
On the VPS, no matter how much power I allocate to it, after a while It will freeze in the following fashion:
Attachment 27610
Firstly, is there a method that tells me if SMART has frozen in this manner? as I have written functionality to restart the script and smart, but the script doesn't register that the player has logged out or anything.
Second,
It seems like the cause is this:
Exception in thread "Thread 2" java.lang.OutOfMemoryError: Java heap space at <dh.init>.....
If I look back at my VMs CPU usage, it rarely seems to go above 20-30%, it does not slowly increase or spike as far as I can tell.
Is this caused by my script? I have ran it for days on a virtual machine locally on my laptop without considerably less resources than I am allocating to the VPS. I'm using only Aerolib, so no Reflection memory leaks, it's very simple too, and DTMs are handled correctly.
I will try increasing the JVM heap size that simba allocates to smart and see how that does.
Any tips how I might prevent this or delay it from happening also appreciated.
Thanks!