WebFaction
Community site: login faq

Hi,

I am really lame with linux stuff and I'd love to know if some can help me with my Jetty installation. I've installed Jetty and correctly configured the custom application. The problem is that when my Java starts it consumes something like 250 MB of virtual memory. I've already set Xmx and Xms in start.ini file but it still doesn't help. Actually, when I hit ps -f I see that there are two java processes. That is one which points to start.jar and the second one which points to something in my java installation directory. It seems that config values from start.ini are applied only to this second process and I end up with my 'way to big' memory consumption.

Maybe some of you have experience in Jetty configuration on webfaction?

Thanks in advance

asked 29 Mar '11, 10:03

orzech
111
accept rate: 0%


Hi,

Setting your -Xmx##m to 64 so -Xmx64m should help, what do you have it set to now? Here's an example that you can run as a command line option:

JAVA_OPTIONS="-Xmx256m -Djava.awt.headless=true"

Which would set it to 256MB of RAM, you obviously want something much lower. :)

permanent link

answered 30 Mar '11, 03:00

klynton
1.6k1210
accept rate: 41%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×87
×22
×6

question asked: 29 Mar '11, 10:03

question was seen: 6,525 times

last updated: 30 Mar '11, 03:00

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM