If you're really worried about your memory usage, you might wanna try another scripting language such as PHP, but seeing as you have a dedicated server, i'm thinking you shouldn't have any troubles (unless you're at 16 MB or something >_<).
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.