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.
Related
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 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
For testing purposes Tableau says 4 cores, 8 GB RAM and 15 GB disk space.
But recommended one says 8 physical cores, 32 GB RAM and 50 GB disk space.
Now I am stuck as 2nd configuration seems to be an overkill. I don't have heavy requirements. How should I decide on cores and RAM?
I shall be connecting Tableau to MySQL for real time dashboards
"Tableau Server will not install if your computer does not meet the
minimum requirements"
See the absolute minimum requirements here: http://onlinehelp.tableau.com/current/server/en-us/help.htm#server_hardware_min.htm
The minimum configuration recommended for production usage of Tableau Server is based on these hardware specifications:
Single computer
64-bit processor
8 physical cores, 2.0 GHz or higher CPU
32 GB system memory
50 GB minimum free disk space
Read more here: http://onlinehelp.tableau.com/current/server/en-us/help.htm#requ.htm
Also, if you don't want to supply your own physical hardware you can always install on a VM. Check out the Tableau Server Bring-Your-Own-License program on AWS
I have created a vmware of windows 8.1 in order to develop a wp8 app.
My pc specs :
i7 2670 (2.2)
8 gb ram
win 7 64
My VMware Player spec:
60 gb hdd
4 gb ram
I have installed in the VMware Player visual studio 2012 update 4, and all the wp stuff.
When i am trying to build my project i am getting this error:
emulator Cannot assign the specified number
of processor for virtual machine is out of range
I have searched on the internet but all links i have found refereed to parallels. Nothing helpful for VMware .
I have read this article. I have enabled hyper-v, but i am not sure if VMware can support hardware virtualization, which i think is needed.
My question are 2:
Is these any possible solution to this problem?
If i got a device and try to debug on device i suppose that i will not have any problem. Am i suppose well?
I will appreciate any help.
Thx for your time.
VMWare Player v6. You need to tick Virtualize Intel VT-x/EPT or AMD-V/RIV in virtual machine configuration for WP emulator running.
As per the comments on your question, I'll explain:
You can perform Windows Phone 8.x development on Windows 7 or later provided you have a physical device, however if you want to use the Windows Phone 8.x emulators then you need to have Hyper-V available, this is because the WP8 emulators run as Hyper-V virtual-machines, side-by-side with your main operating system.
Therefore, to use the WP8 emulators you must be running Windows 8 Pro, Windows 8 Enterprise or Windows Server 2012 (or later, e.g. Windows 8.1 Pro). The standard "Home edition" of Windows 8 does not include Hyper-V. Read up about Client Hyper-V on TechNet.
Hyper-V requires hardware virtualisation and, as an accelerated platform with hardware requirements, will not run within another virtualiser (this is in contrast to how you can run VirtualBox or VirtualPC under Hyper-V). You must be running Windows 8 Pro as your "root" operating system.
You actually also need to edit the .vmx file in VMWare Player in order for Hyper-V to be available to the Windows Phone emulator.
Give your VM >= 4GB RAM, 2+ processors, then open the .vmx file for the VM and add:
hypervisor.cpuid.v0 = “FALSE”
Then save, start the VM, and install Windows.
I'll also point out that this works flawlessly on my MacBook Pro Retina running a Hyper-V capable Windows distribution inside of Parallels and Visual Studio 2013 CE.
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