ID #1386

CX 7 - Memory errors - I am getting 'out of memory' errors, what can I do?

Maximizing memory

The platforms and operating systems that Strata Design 3D CX 7.x supports have different memory characteristics and limitations.

In particular, the process limit is the maximum amount of virtual memory a single process (application) can address. On 32-bit systems this is the most important factor limiting data set size.

The process limit must be large enough for Strata to store all the data it is to process, plus the Strata executable itself and other states. Where possible, choose an operating system that maximizes this number, i.e. a 64-bit operating system. The following is a list of Strata supported operating systems and their process limits.

Operating system

Process Limit

32-bit Windows XP, Vista and Windows 7 (default) - 2 GB

32-bit Windows XP with 3GB switch, or 32-bit Windows Vista / Windows 7 with IncreaseUserVa set (see below)  - 3 GB

64-bit Windows Vista, Windows 7, or Mac OS X running 32-bit Strata Design 3D CX 7 - ≤ 4 GB

Optionally set the 3GB switch on 32-bit Windows XP SP2 or later

Microsoft Windows XP Service Pack 2 or later can allocate 3 GB instead of the default 2GB to processes if you set an appropriate switch in the boot.ini file of the system. This procedure is detailed at http://technet.microsoft.com/en-us/library/bb124810.aspx.

This gives an extra 1 GB of virtual memory to Strata, not contiguous with the rest of the memory. This enables you to store more data but not anything requiring contiguous space such as very large image buffers. This is mostly beneficial if you have enough RAM (e.g. 3 or 4 GB) to use it.

Setting the 3GB switch on 32-bit Windows Vista™ or Windows 7

To enable the 3GB switch on 32-bit Windows Vista™ or Windows 7:

  1. Right-click Command Prompt in the Accessories program group of the Start menu. Click Run as Administrator. 
  2. At the command prompt, enter "bcdedit /set IncreaseUserVa 3072" 
  3. Restart the computer. 

To disable the 3GB switch on 32-bit Windows Vista™ or Windows 7:

  1. Right-click on Command Prompt in the Accessories program group of the Start menu. Click Run as Administrator.
  2. At the command prompt, enter "bcdedit /deletevalue IncreaseUserVa"
  3. Restart the computer.

For more information on the 3GB switch, refer to the following Microsoft MSDN article:

http://msdn.microsoft.com/en-us/library/ff556232.aspx

Tags: -

Related entries:

You cannot comment on this entry