runtime/faq/memory

From JumpBox Documentation Wiki

Jump to: navigation, search

Do I need to increase my JumpBox's RAM allocation?

A JumpBox is a complete virtual computer, and as such it has a certain amount of RAM (memory) allocated to it. As with a real computer, adding memory to the JumpBox can sometimes significantly improve performance. However, because memory allocated to a JumpBox is not available to other programs on your computer, choosing how much memory to allocate is a compromise. Most JumpBoxes by default are given 256 MB of memory, but a handful of JumpBoxes contain memory-hungry applications that require more simply to start. For many, if not most people using the JumpBoxes in a small office or home setting, the default memory limits will be satisfactory and should not be changed, but if any of the following conditions apply, then you should read on:

  • If the JumpBox is actively used by more than ten people at once.
  • If the JumpBox stores or processes large documents or files. This mostly applies to Document Management (DMS) JumpBoxes such as Alfresco and KnowledgeTree.
  • If the JumpBox seems to be unusually slow or sluggish.

It is possible to find out with reasonable certainty whether or not you need more memory. To do so, you'll need an SSH client and the know-how to use it. Follow these steps:

  • Enable SSH access to the JumpBox as described here.
  • Choose a time when the JumpBox is subjected to its peak usage.
  • SSH in as the admin user.
  • Type the following command: free -m
  • You will see output similar to the following:
              total       used       free     shared    buffers     cached
Mem:          1519        931        587          0        393        328
-/+ buffers/cache:        209       1309
Swap:          894          0        894
  • Look at the bottom row in the "used" column. This example has a 0. If this number is not zero, you need to increase the amount of memory allocated to your JumpBox; doubling the current limit would probably be a good start.

Directions on how to raise the memory limit vary by virtualization environment. See the virtualization section of the wiki for instruction on how to increase the memory limit of your JumpBox.

Views
Personal tools