Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6073025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:13:31+00:00 2026-05-23T10:13:31+00:00

I have a VPS (512 RAM max) on which I want to run a

  • 0

I have a VPS (512 RAM max) on which I want to run a simple IRC bot.
I’ve written it in JAVA, but it turned out JVM is eating a tremendous amount of 144 MB ram.
The bot itself has a very low demand for memory, unlike JVM.

So the question is:
Is Java appropriate for this task? I’m not running any other java apps on this server so this seems to be an utter RAM waste.
Would it be better to just rewrite everything in c/c++ or is there a way to run small java programs with little JVM memory overhead?

Just to be sure we’re not duplicating questions: -Xms and -Xmx are not going to help, see:
Java seems to ignore -Xms and -Xmx options

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:13:32+00:00Added an answer on May 23, 2026 at 10:13 am

    the JVM is huge. write in C or C++ for a much smaller footprint.

    or check out smaller VMs like http://jamvm.sourceforge.net/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have VPS with 1GB of RAM. One ruby-app that runs on thin server
I have a VPS which is hosting (currently) 5 different rails applications, all with
I've hired a new VPS and have root access. Now i want to configure
I have a VPS with Ubuntu OS. I run solr om my local machine
I have a VPS Linux webserver with PHP installed. I want to code some
We have one vps server, at the moment, and we need to run both
I have a VPS and I would like to be able to run ASP.NET
I have a ubuntu lucid VPS server where I try to run my django
I have Kippo running on my VPS, and I can't get it to run
Hey guys I have enabled APC on my VPS but now I can't access

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.