4D v16Using 4D Server 64-bit version (Windows) |
||
|
4D v16
Using 4D Server 64-bit version (Windows)
Using 4D Server 64-bit version (Windows)
Beginning with version 12, 4D Server supports Windows 64-bit operating systems. The main advantage of 64-bit technology is the fact that more RAM memory can be addressed. This section covers the particularities concerning the implementation and use of the 64-bit version of 4D Server. A 64-bit 4D Server requires a Windows 64-bit operating system. Please refer to the certification matrices available on the 4D Web site to know which Windows operating systems are compatible with respect to your 4D Server release. The 4D Server.exe application intended for 64-bit architectures is a specific version, dedicated to this environment. It will not run on a 32-bit system. Conversely, if you launch a 4D Server 32-bit version application on a Windows 64-bit system, it will run, but in emulation mode. Any 4D client application, 32-bit or 64-bit, OS X or Windows, can connect to a 64-bit version of 4D Server (see the diagram below). 4D client applications include 4D in remote mode and applications merged with 4D Volume Desktop. Compatibility note: In 4D v16, the 4D client 64-bit version applications for Windows are provided in pre-release version. In interpreted mode, the same 4D databases can be executed with a 64-bit 4D Server or a 32-bit 4D Server. Development is identical regardless of which application is used (except with regard to the limitations described below). In compiled mode, the databases must have been compiled for 64-bit processors in order to be executed with a 64-bit 4D Server (see the "64-bit compilation" paragraph). General view of 4D Server 32-bit and 64-bit architecture During execution, the following differences should be noted:
4D applications can be compiled for 32-bit and 64-bit processors. To do this, the Multi-target compilation (32-bit and 64-bit) option is available on the "Compiler" page of the Database Settings: When this option is checked, the compiler includes the 64-bit code and the 32-bit code in the .4DC and .4DB files. These files can then be run with either a 32-bit or a 64-bit 4D Server. By default, this option is not checked. Note: In order to compile a 64-bit version of the database, it must be operating in Unicode mode. Otherwise, an error is generated during compilation. Since 64-bit architectures allow up to 1 TB (1000 GB) of RAM memory to be addressed, the cache memory that can be allocated to the 64-bit 4D Server is virtually unlimited. Note: By comparison, 32-bit architectures are limited to 4 GB of RAM. If the quantity of cache specified on the "Database/Memory" page of the database Settings cannot be obtained, 4D Server allocates the largest size possible and informs the user on startup of the application. It is then possible to quit or continue with the size offered. The process stack running on a 64-bit version of 4D Server requires more memory than on a 32-bit version (about twice as much). When you create a process on the server using the Execute on server or New process commands with a 64-bit version of 4D Server, we recommend that you pass a minimum value of 128,000 bytes in the stack parameter and increase it when handling a sizeable call chain or if you receive an "out of stack" error. Make sure that you check this parameter when your code is intended for execution on a 64-bit 4D Server.
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
4D Server Reference ( 4D v16) |