I have a problem when I run tekkit ( I think the same problem would be and with vanilla server) in dedicated server at the start it uses 81% ~ of ram after a few hours it reaches the point 100% and server freezes I do not know what is the problem :/. (Dedicated server is on Ubuntu server 32bit openjdk 7, I use byobu to manage between the consoles no mysql no webserver) start script is:
#!/usr/bin/env sh
java -Xmx1500M -Xms1500M -jar Tekkit.jar
Server specs:
Ram: 2GB
CPU: intel i7 4GHz