Consultor Eletrônico



Kbase P180223: What is the temporary file with the prefix RCD used for?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/7/2011
Status: Verified

GOAL:

What is an RCD file used for?

GOAL:

Why do the RCD files grow?

GOAL:

Should RCD files grow?

GOAL:

Anyway to limit the growth of RCD files?

GOAL:

What is the file with a prefix of RCD?

GOAL:

What is the temporary file with a prefix of RCD used for?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1C
OpenEdge 10.2x
OpenEdge Category: Language (4GL/ABL)

FIX:

The file with a prefix of RCD is new in 10.1C. The RCD file is the r-code swapping file.

One of the client temporary files is the srtxxxxx file, but with 10.1C a new client temporary file, rcdxxxxx, has been introduced to off load some of the functionality of the srtxxxxx file. The srtxxxxx system file is where we do large sorts, and where we used to keep a cache of .r's during an ABL session. We no longer cache the .r's in this file. This file is now allowed to reach 2^63 bytes. The r-code will now go to the new rcdxxxxx system file which has a 2GB limit of the file size.

The AVM swaps unlocked r-code segments to the rcd file from the in-memory r-code execution buffer when space is needed for loading new r-code segments. The memory utilized by the r-code execution buffer is governed by ?mmax, but it is a soft limit (unless you specify ?hardlimit). You can get ?warning ?mmax exceeded...? messages during session execution when there are no unlocked segments of sufficient size to swap to the rcd file, and ?mmax is increased. The more segments swapped, the larger the rcd will grow.

RCD files are an on-disk file. There is no memory mapping involved in the creation of these files.