Article ID: 1371, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Virtuozzo containers for Windows 4.0
  • Virtuozzo for Windows 3.5.1 SP1
  • Virtuozzo for Windows 3.5.1


When I try to run a native Windows application, it sometimes returns the following error:
The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.


The most possible reason is that there is not enough virtual memory within the environment.


Try to increase memory for the affected VE.

To increase memory for the affected virtual environment, perform the following within the Virtuozzo Management Console (VZMC).

From the VZMC, do the following:

• Select the virtual environment where the application is running.
• Right-click on this environment and select its Properties.
• Within the Properties tabs, select the QOS (Resources) tab.
• Within the QOS (Resources) tab, click on the Primary Memory Related Parameters folder.
• Double-click on the VE Memory setting and raise the amount of memory allocated to this VE.

Otherwise, it can be done through CLI:

vzctl set VEID --vprvmem <size_in_MB> --save

a06f7889a0f0293c5c75e7ee47fa3d96 1348db476c8a5844ffbef8d503db9c15 28d0f7cc091e3b9304fa556c03f9a940 965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF