Child pages
  • Tuning the Server

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Memory

...

Tuning

...

Processes

...

in

...

Java,

...

like

...

the

...

Servoy

...

Application

...

Server,

...

need

...

to

...

be

...

told

...

explicitly

...

the

...

maximum

...

of

...

memory

...

they

...

are

...

allowed

...

to

...

use.

...

This

...

setting,

...

the

...

maximum

...

heap

...

size,

...

is

...

important

...

to

...

adjust

...

to

...

the

...

load

...

the

...

Servoy

...

Application

...

Server

...

is

...

to

...

handle.

...

The

...

maximum

...

heap

...

size

...

setting

...

is

...

set

...

in {servoy_install}/application_server/servoy_server.sh/.bat,

...

through

...

the

...

"Xmx"

...

setting.

When

...

the

...

Application

...

Server

...

is

...

started

...

as

...

a

...

Service

...

through

...

the

...

setting

...

can

...

be

...

found

...

in {servoy_install}/application_server/service/wrapper.conf,

...

by

...

the

...

name

...

of

...

"wrapper.java.maxmemory".

By

...

default

...

the

...

maximum

...

heap

...

size

...

is

...

set

...

to

...

256MB.

...

This

...

setting

...

should

...

be

...

changed

...

when:

...

  • The

...

  • actual

...

  • used

...

  • memory

...

  • is

...

  • >=

...

  • 70%

...

  • of

...

  • the

...

  • specified

...

  • maximum.

...

  • The

...

  • actually

...

  • used

...

  • memory

...

  • can

...

  • be

...

  • found

...

  • on

...

  • the

...

  • main

...

  • page

...

  • of

...

  • the

...

  • Admin

...

  • page,

...

  • under

...

  • System

...

  • Information:

...

  • Heap

...

  • memory:

...

  • allocated=549184K,

...

  • used=371473K,

...

  • max=699072K

...

  • When

...

  • the

...

  • expected

...

  • client

...

  • load

...

  • will

...

  • exceed

...

  • the

...

  • maximum:

...

  • As

...

  • a

...

  • rule

...

  • of

...

  • thumb:

...

    • Smart

...

    • Client:

...

    • assume

...

    • a

...

    • memory

...

    • usage

...

    • of

...

    • about

...

    • 300kb

...

    • for

...

    • each

...

    • Smart

...

    • Client.

...

    • NOTE:

...

    • When

...

    • the

...

...

...

    • is

...

    • used,

...

    • assume

...

    • 600kb

...

    • per

...

    • Client.

...

    • All

...

    • other

...

    • type

...

    • of

...

    • Clients

...

    • (Web,

...

    • Headless,

...

    • Batch):

...

    • the

...

    • required

...

    • memory

...

    • for

...

    • each

...

    • client

...

    • depends

...

    • on

...

    • the

...

    • size

...

    • and

...

    • design

...

    • of

...

    • the

...

    • solution,

...

    • but

...

    • should

...

    • be

...

    • in

...

    • the

...

    • order

...

    • of

...

    • magnitude

...

    • of

...

    • a

...

    • couple

...

    • of

...

    • Mb

...

    • per

...

    • Client.