Skip to main content
FRAMES NO FRAMES

Variable ILC_NO_MEMORY_MANAGER

Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
OS environment variable controls CP Optimizer memory manager.

This operating-system environment variable enables you to control the memory manager of CP Optimizer. CP Optimizer uses its own memory manager to provide faster memory allocation for certain CP Optimizer objects. The use of this memory manager can hide memory problems normally detected by memory usage applications (such as valgrind for example). If you are working in a software development environment capable of detecting bad memory access, you can use this operating-system environment variable to turn off the CP Optimizer memory manager in order to detect such anomalies during software development. This environment variable also applies to reversible memory. For example, if you are working in such a development environment on a personal computer running Microsoft® Windows® use this statement:

 set ILC_NO_MEMORY_MANAGER=1
 

If you are working on a UNIX platform, using a C-shell, here is one way of setting this environment variable:

 setenv ILC_NO_MEMORY_MANAGER