Reduce memory resources consumed by virtual systems in VMware

Source: Internet
Author: User

Recently, learning Linux drivers, installing a Ubuntu10.4 system in VMware, allocated about 700MB of memory.

But there is a problem, because a lot of operations are done under the character command interface, basically rarely use the graphical interface, so, using windowsxp under the virtual network provided by VMware directly connected to the virtual system, so that, It feels like Linux is a command-line interface under Windows. and peacetime situation, generally in the virtual system to execute commands, all to open the VMware interface, feeling is very awkward, and with the method of Telnet, let people feel very kind and real.

However, after Telnet connection, the Xwindow of Ubuntu in VMware is always on, resulting in CPU and RAM consumption. So just think, since useless to the virtual system of the graphical interface, then simply let the virtual system start to shut down Xwindow, and directly to the character command line interface, so that the CPU and RAM occupancy rate is greatly reduced, not fast.

1. Set the boot not to start GDM, but the character command interface:

Operation Process: Execution:

#sudo mv/etc/init/gdm.conf/etc/init/gdm.conf.disable

Note: The gdm.conf will be renamed to Gdm.conf.disable.

As in the character command interface, you need to temporarily restore Xwindow, executable:

#gdm

If you need to restore the system automatically after the start of Xwindow, executable:

#sudo mv/etc/init/gdm.conf.disable/etc/init/gdm.conf

2. After booting into the character command interface in VMware, if you do not play the virtual system for a long time, a reminder box will pop up and the specific content is forgotten. However, the virtual system occupies a large amount of memory down to about 10MB, and later, pop-up reminder box, point "No" after the reminder box has not appeared again, but the following is the virtual system boot into the character interface, the use of memory or about 200MB.

Why the memory used by the previous virtual system can be reduced to about 10MB. (This issue has not been resolved)

Figures:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.