Using _CEE_HEAP_MANAGER to invoke the alternative Vendor Heap Manager

This environment variable is set by the end-user or the application to indicate that the Vendor Heap Manager (VHM), identified by the dllname, is to be used to manage the user heap. The format of the environment variable is:
_CEE_HEAP_MANAGER=dllname
Note: This environment variable must be set using one of the following mechanisms:
  • ENVAR runtime option
  • Inside the file specified by the _CEE_ENVFILE environment variable
  • Inside the file specified by the _CEE_ENVFILE_S environment variable. _CEE_ENVFILE_S will enable a list of environment variables to be set from a specified file and will also strip trailing white space from each name=value line read from a file.
You must set the environment variable before any user code obtains control; that is, before the HLL user exit, static constructors, or main obtains control. If you set it after the user code has begun executing, the VHM will not be activated but the value of the environment variable will be updated.