Configuring Memory Usage

(Optional) Determine whether you need to configure how much memory Sybase Control Center uses, and if so which configuration method to use.
It is not usually necessary to configure memory usage for Sybase Control Center. This table lists memory options you can set and circumstances under which you should consider changing them.
Modify this value When Guidelines
Maximum memory
  • jvmopt=-Xmx – if you are running SCC as a Windows service
  • SCC_MEM_MAX – if you are starting SCC from the command line
  • You need to prevent Sybase Control Center from using more than a given amount of memory
  • SCC fails to start and may display an error: Could not create the Java Virtual machine.
  • An OutOfMemory error says SCC is out of heap space
  • A warning message about system memory appears during the start process
  • The machine where SCC is installed has less than 2GB of memory. (Starting SCC on a machine with less than 2GB of memory triggers the startup warning message about system memory.)

On machines with less than 2GB of memory, set maximum memory to 256MB or more.

Default value: none. (On machines with 2GB or more of memory, maximum memory is set dynamically and is effectively limited only by the amount of system memory available.)

Permanent memory
  • jvmopt=-XX:MaxPermSize – if you are running SCC as a Windows service
  • SCC_MEM_PERM – if you are starting SCC from the command line

An OutOfMemory error says SCC is out of permanent generation space

Increase by 32MB increments. If you reach a value equal to twice the default and still see the OutOfMemory error, contact Sybase technical support.

Default value: 128MB

You can change memory options in two ways:
  • For Sybase Control Center started from the command line – execute commands to set one or more environment variables before executing the scc command to start Sybase Control Center. When you use this method, your changes to the memory options last only as long as the current login session. This method is useful for testing new option values.
  • For the Sybase Control Center service – modify a file used by the SCC service. When you use this method, your changes to the memory options persist—Sybase Control Center uses them every time it starts as a service.