I am using google virtual machinen1-highcpu-4 (4 vCPUs, 3.6 GB memory).
I want to downgrade it to n1-highcpu-2 ( 2 vCPU, 1.8 GB Memory).
Is it possible to downgrade it?
It is not really possible to downgrade it. What I do make a snapshot of the current VM, and then create a new VM with the specs I need, along with the snapshot as it's source disk
Related
I am having RHEL7 OS VM of 16GB RAM and 4core CPU. I wanted to install openshift container platform 4.6.3 version as a all-in-one installation as I don't wanted to use codeready container platform for this purpose is there any way how I can install openshift 4x version as all-in-one installation.
No, installing OpenShift Container Platform 4.6 on this particular VM is not possible for multiple reasons:
In any case, the Control Plane requires Red Hat CoreOS as its Operating System.
The smallest possible OCP cluster is a Three-Node OpenShift Compact Cluster, where Control Plane nodes are also used to schedule workload. A single-node cluster installation does not exist at this time (apart from CodeReady Containers, which you do not want to use).
Even with the small cluster above, you are looking at at least 3x 24GB of RAM as the minimum requirement. VMs with less RAM might work, but the cluster will likely be unstable.
With limited resources, the only way to run OpenShift 4 is to use CodeReady Containers.
So I recently have a project using MySQL 8.0.12, configured for Development Computer upon installation.
I developed the system on my PC, which has an i5 CPU with 8 GB RAM.
On my PC, the mysqld.exe process consumes around 10% of CPU usage and 20 MB of Memory when a continuous query is run
I then deployed this system to the client PC, which has an Atom CPU with 8 GB RAM. Also using a fresh install of MySQL 8.0.12.
For some reason, even on idle condition, the mysqld.exe process consumes 300 MB of Memory. Also the CPU usage goes up to 60% during continuous query.
Both system runs on Windows 10 x64-bit
Obviously the speed of these two computers are different, but I kind of doubt that the CPU core is the issue, since the idle state already consume different memory.
What may went wrong with this MySQL inside the Atom based PC? Why does it behave very differently? CPU Usage aside, it is very weird to me that the idle state memory consumption is so different.
Is there any possible workaround to these issues?
I am developing a WP8 app on a memory-constrained machine.
I can only run my app on the smaller-resolution emulator, but not the rest, because those require 1 GB of system ram.
How can I change the configuration for the emulators so that they use less memory?
I'm afraid there is no alternative but to add more RAM to your system (RAM is cheap these days).
For your information, here are the requirements for the Windows Phone 8 SDK:
6.5 GB of free hard disk space
4 GB RAM
64-bit (x64) CPU
Try the following solution
https://docs.google.com/document/d/1sTelfYz-oiQ98GSqPn-IBU7J0XTY24HocEU_mhxZFP0/edit?usp=sharing to edit static emulator RAM settings.
Here's the current solution:
http://www.tech-problems.com/backup-mysql-and-files-on-amazon-ec2-to-s3/
I'm currently using a PHP CLI script that runs nightly using cron. The problem is before the script runs for the first time there's 300MB of RAM in use then after it runs RAM doubles to almost 700MB. The web files backup uses the most memory. After the scripts run the RAM says used.
Anyone with VPS / low memory setups that can suggest a better - more efficient - alternative to backup web files and MySql database to s3?
I would suggest you to go for CDP 3.0 backup solution. I am taking backup of all my VPS nodes (Linux & Windows) using CDP 3.0. It is fast, efficient and takes incremental backup of your VPS.
Does it make a difference? All I'll be doing (for the most part) is running different browsers. I would think the most stripped down one possible would be best.
Update: My dev box is a MacBook Pro (2010) with 8G ram, 2.4 GHz processor running Lion.
Ordinary Windows 7 installations are shipped with a full load of crap. Even the cleanest installs have a size of at least 10 GB. For that reason, I recommend to only use Windows 7 if you want to test IE9+ (which requires Vista+).
The following steps will take a maximum of ten minutes. Afterwards, you have a fully functioning Windows 7 + IE9 system, which takes only 2GB of physical space:
Getting Windows 7 Lite
I use this set-up in VirtualBox. I have not tested it in VMWare, but there should be no differences.
Get a Windows 7 Lite VM image.
I myself use an image, created by ivankehayov:
Download name: Win7.SP1.IE9.lite.v2-IK
ISO size: 700 MB (after installing: less 2GB)
MD5: 094BE542B3F292726EF7F16619CACA9A
For more information, and the tools used to create this image, see this forum. More details (about the old image) can be found here.
Creating/Installing the Virtual Machine
Create an new VM, and put the ISO image in the virtual CD slot.
2 GB RAM (Minimum of 1 GB, to ensure that your system doesn't crash).
Boot the Virtual Machine.
Install from the iso image
Decrease resource usage (4 steps)
Install CCleaner, to wipe (temporary) (log) files.
Disable System Protection:
Control Panel > System Protection > Configure... > Turn off system protection
Disable the page file (especially recommended when you've got a SSD).
Control Panel > Advanced system settings > Performance [Settings..] > Advanced > Virtual memory [Change..] > No paging file - Set. Confirm and reboot.
Disable all unnecessary services, to increase the booting speed.
Set your preferences (homepage? IE settings?), and save a snapshot of your VM. When you're done with using the VM, restore the snapshot. This will prevent Windows from hogging disk space over time, and keeps your VM image compact.
My virtual Windows 7 boots within 45 seconds.
Relevant details about my own environment:
- Virtualization software: Oracle VirtualBox
- Operating system: Linux-based
- RAM: 8 GB
- Disk: 60 GB SSD