Increasing C-Gate Memory

Discussion in 'C-Bus Toolkit and C-Gate Software' started by daniel, Oct 25, 2011.

Thread Status:
Not open for further replies.
  1. daniel

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    766
    Likes Received:
    20
    Location:
    Adelaide
    (Updated February 2014)

    For very large projects you may encounter C-Gate's memory limits. This will be characterised by:

    - "Java.lang.OutOfMemoryError : Java heap space" errors in the C-Gate console window
    - "Error 14025" dialog in Homegate or Schedule Plus
    - "Failed to save project" or other errors in Toolkit

    If you are running C-Gate as a console, you can change the memory limits.

    To increase the memory configuration:

    - In Toolkit, select File | Preferences ...
    - Select the 'Advanced' tab
    - For 'C-Gate Memory' change the Maximum value to a larger number.

    The default value is usually 192 MB. Increasing this value to '512' would be appropriate for a machine with at least 2 GB of RAM.

    When choosing the maximum memory value you should take into consideration other applications and services on the machine.

    Note that C-Gate will not immediately consume the maximum amount of memory. It will start with less than 10MB of RAM and only grows to use more if your projects require it.

    At this point we do not recommend or expect that you will need values larger than 512MB. In fact C-Gate when run as a service is hardcoded to a maximum of 512MB RAM.

    If you find that you require more memory than this for your C-Gate projects please do let us know.
     

    Attached Files:

    Last edited by a moderator: Feb 24, 2014
    daniel, Oct 25, 2011
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Thread Status:
Not open for further replies.