Very new to DigitalOcean and I have a design question.
I have a Java .jar application which is designed to generate an OutOfMemory error. I would like to run this Java program using java jar ... within DigitalOcean, to validate the error messages flow into the SolarWinds Loggly product.
What is the best/easiest approach for me with this very limited need in DigitalOcean? I only plan to run the program a handful of times.
Thank you, in advance, for any assistance anyone can provide.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @johnjvester,
You can always configure a swap file on your droplet. Since the swapfile is created from the harddisk, you can create a 10GB swapfile and I’m sure you won’t see the out of memory error.
Having said that, please note the swapfile is actually not as fast as RAM. If you are looking for performance, you’ll need to upgrade to having more RAM but if performance is not something that’s crucial, configuring more swap would be the way to go.
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.