Seite 1 von 1

ADS Speicherbedarf

Verfasst: Fr, 04. Nov 2022 13:20
von Chris
Hallo Zusammen,

ich habe bei einem Kunden mit ADS Version 11.10.0.24 (125 User) und Server 2019 Std. das Problem dass das ADS im Arbeitsspeicher des Servers langsam über den Tag von knapp 300 MB auf knapp 2 GB erhöht. Das führt dann ab dem Mittag zu deutlichen Performance-Einbußen.

Ich bin der Meinung das es eine Einstellung oder einen Registry-Eintrag gibt mit dem man das ganze begrenzen kann. Leider habe ich den nirgends dokumentiert und finde jetzt auch nichts. Weiss da eventuell jemand was?

Vielen Dank schon im Voraus.

Gruß,
Christian

Re: ADS Speicherbedarf

Verfasst: Fr, 04. Nov 2022 18:35
von Marcus Herz
Ich weiß nicht, ob eine Speicherbegrenzung da Abhilfe schaffen kann, Eher vermute ich, dass Tabellen oder SQL Abfragen nicht geschlossen wurden.
Was zeigt den die Management Konsole an: offen Tabellen, offen Workareas?

Re: ADS Speicherbedarf

Verfasst: Do, 10. Nov 2022 13:30
von Chris
also, die Einstellung welche ich gesucht hatte war das festlegen von max_cache_memory in der registry. wir haben das bei dem Kunden jetzt mal auf 6GB beschränkt.

gibt es eigentlich irgendwo einen hinweis seitens sybase / sap / tobax was ein sinnvoller wert für die einstellung wäre. eventuell abhängig vom ram des servers?

Re: ADS Speicherbedarf

Verfasst: Di, 15. Nov 2022 17:56
von UliTs
Vielleicht hilft dies etwas.
Default = Half of the available system memory (RAM) at startup



This configuration entry specifies the maximum amount of memory (RAM) in megabytes (MB) the Advantage Database Server will use to cache index files, table headers, memo headers, and temporary files. If this setting is not found, the Advantage Database Server will determine an appropriate maximum value by dividing the currently available amount of free memory by two. In 32-bit operating systems, Advantage will use no more than 256MB for cache unless the MAX_CACHE_MEMORY specifies a higher value. The amount of free memory is polled once per minute, and if the Advantage Database Server is using more than half of 80% of free memory, it will release enough memory so there will be at least 100MB memory available in the system.



If the configured amount is zero, the Advantage Database Server will not cache any file data.



To set a specific amount of memory for the Advantage Database Server to use for caching, perform one of the following where "x" is replaced by the actual integer memory amount in megabytes (MB). To disable the cache system, specify a value of zero.

For Windows:

Add or modify the following DWORD value using the Registry Editor (REGEDIT.EXE):

\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Advantage\Configuration\MAX_CACHE_MEMORY=x

For Linux:

Add or modify the following line in the Advantage Database Server configuration file (adsd.conf):

MAX_CACHE_MEMORY=x

For Local Server:

Add or modify the following line in the Advantage Local Server configuration file (adlocal.cfg):

MAX_CACHE_MEMORY=x