vmware player not working properly for blackberry 10 dev alpha - blackberry-10

I am trying to use the blackberry 10 emulator on my Core i3 laptop, but the performance is horrendous.
I am using Windows 7 and the BB10 dev alpha simulator image. I am using the safe option when booting up BB, because without it there are weird visual artefacts.
The emulator is unusably slow and I have enabled 2 cores on the VMWare emulator as detailed here:
https://developer.blackberry.com/devzone/develop/simulator/simulator_improving_performance.html
What can I do to improve the simulator performance? It takes more than half an hour to boot the simulator and it is almost completely unusable.

I found the problem. All I had to do was to reboot, enter my BIOS by pressing delete, Go to CPU settings and enable Virtualisation. This made a huge difference. Can't believe I missed that in the documentation.

The simulator is notoriously resource hungry. Your problem is probably a combination of CPU, RAM and HDD. Lack of RAM is the main culprit. I find that anything less than 8GB and it runs like a dog.
Ideal setup is:
8GB RAM
Solid State Drive (I have a Samsung 830 and it is lightning fast)
Sandy/Ivy Bridge Intel i7 CPU

Related

Flutter with VS Code and emulator taking too much ram

I just want to ask, im running flutter with vs code and android emulator using my Acer Aspire 3 (Ryzen 5 2500u and 8gb ram 6.9gb usable).
When i run the emulator suddenly my laptop was slow and when i check task manager my ram usage is reaching 98-99% due these Open JDK, vscode, emulator, dart, etc. Is it normal? I saw the requirement on flutter website and i think my spec its not problem. Any one know how to fix this issue?
Sorry for my bad English Thanks in advance.
This is a very common issue that I faced personally. After wasting a lot of time at the slow laptop, I decided to upgrade my RAM & now it works better.
Assuming that a normal Flutter developer uses the following programs at any given time -
Chrome (~1.5 GB)
(Obviously for StackOverflow, Github, Music, Surfing etc. Minimum 5 - 8 tabs open)
VS Code (~1 - 2 GB)
For running project(s) (Sometimes I have to switch b/w multiple projects)
Emulator (~1.5 - 2 GB)
Easily consumes a lot of RAM.
Your OS (Windows/Linux/Mac (~1.5 - 2 GB)
Your OS may consume 1.5 - 2 GB RAM with no programs running. If it is consuming more, then try restarting your laptop.
I have upgraded my RAM to 16 GB now. Now, my normal usage goes to 7.6 GB (around 50% RAM usage).
If you are using Android Studio, then you will have even less RAM. It is really heavy (2.5 GB+, in some cases). I personally use VS Code as it is light-weight.
An alternative can be to use an actual mobile device, instead of an emulator.
My computer with Intel Core i7 - 4770 and 12 GB RAM is much worse.
Android Tablet Emulator used up to 3.96GB RAM. 8 Tasks of Dart.exe used up to 3.6GB of RAM. VSCode only used up 1.6GB. I only open one Flutter project, one Node.js project.
I used the recent version of Flutter 3.04. The computer is so much slow and very lag. I only opened one Edge browser too. I really hope Flutter team can fix this thing. I don't have any budget yet to buy Android tablet for this startup project. Android emulator is my only option.

How to improve the performance of emulator in Android studio?

Whenever I run my small application in Android studio it takes more time to boot in emulator .
My system config as follows
RAM 4GB
PROCESSOR dual core
GPU intel integrated graphics
Intel’s x86 Emulator Accelerator Manager allows developers to run an emulator which performs much faster than a typical emulator running on an ARM-based CPU architecture. It should be noted that this technology only works on Intel VT (Virtualization Technology) enabled systems.You can also enable your emulator to use your machine’s GPU which should make rendering of animations or graphics much faster than it would otherwise be.
Did you install the HAXM driver? This makes the emulator usable but even then there is room for performance improvements...
(Of course your graphic card driver should be installed properly)

Emulator in AMD Processor is not working

I using AMD processor. I have installed everything related to eclipse perfectly. But I'm unable to start the emulator. program is hang and keep waiting for adb forever. The same issue in android studio also. Please give a solution.
I'm using a Android Studio on an HP x360, which is a nice little laptop but has a puny processor:). I spent ages getting the Intel Hax virtual machine thingy installed on my machine, as well as configuring bios (which I found AVAST blocked changes to, so had to uninstall it).
After probably hours this week (I'm new to Android) waiting for the emulator to do it's thing, start up, load program, and eat memory, I decided to plug in my phone (Moto-e).
This has made a massive improvement! Only takes a minute to compile and run now! You also have piece of mind that your app will run in the real world.
So as a newb to Android, I'd say don't bother with the emulator.... plug a real device in.
See here for setting up HAXM, if you have trouble installing, it may be antivirus etc blocking it....
Intel HAXM
All the best.
try these threads Virtualization threads

How to make an AVD with > 768MB RAM To emulate Galaxy devices

I am trying to emulate the Galaxy Note 2 which contains 2GiB RAM and some custom hardware like the s-pen and TouchWiz. I created an emulator with 2GB to start with. The emulator won't launch, in fact it is crashing eclipse. I would also like to emulate multi-screen TouchWiz support. I don't see any info anywhere on emulating custom platforms like TouchWiz. Any ideas? I need a decent testing platform for the Galaxy series, but I can't even get basic android working.
edit: The Samsung dev page shows this setup: http://developer.samsung.com/forum/thread/emulator-size-for-galaxy-note-2-/77/178557
Is this a lack of available ram?
using the suggestion of manually adding "mb" behind the memory size in your configuration file (as suggested in this thread: Android: failed to allocate memory ) (located at: %USERPROFILE%/.android/avd/name-of-your-avd/config.ini) has solved the 768mb problem here!
example that now works on my win7 x64 ultimate os -with- dedicated gpu;
avd.ini.encoding=ISO-8859-1
hw.sdCard=no
hw.device.manufacturer=Google
hw.mainKeys=no
hw.lcd.density=320
hw.accelerometer=yes
hw.dPad=no
hw.cpu.arch=x86
skin.name=720x1280
abi.type=x86
hw.device.hash=1197498893
hw.trackBall=no
hw.device.name=Galaxy Nexus
hw.camera.back=none
hw.sensors.proximity=yes
hw.battery=yes
disk.dataPartition.size=512M
hw.gpu.enabled=yes
image.sysdir.1=system-images\android-18\x86\
hw.audioInput=yes
hw.sensors.orientation=yes
hw.camera.front=none
hw.gps=yes
skin.dynamic=yes
skin.path=720x1280
hw.keyboard=yes
vm.heapSize=128
hw.ramSize=2048mb
I have tested this on two machines, my desktop and laptop both running Windows 7 X64 Ultimate
The Laptop has an Intel I7-4702MQ with 12GB ram and GeForce GTX765M
The Desktop has an Intel I7-3820 with 32GB ram and has Ati 6950 in Crossfire and an Nvidia GTX560Ti (normally for physx).
The desktop only has issues in reliably starting the gpu acceleration while using crossfire, other then that i've had no issues with the emulator at all and even managed to assign 4096mb RAM with a 256VM Heap (however increasing the VM-heap above 128 seems to slowdown emulator initiation tremendously here)
On the desktop i also tested the 4096MB setup while even using a RAMDISK but this didn't increase performance too much.
Best settings overall (in my experience) in startup and responsiveness after just a few tests;
2048 with 128mb VM Heap size, gpu acceleration enabled.
Hope this helps out others!
I actually had a similar problem when running on Windows 7. When I relaunched Android studio with administrator privileges it worked. Otherwise I couldn't even open the AVD manager.
This question may be a duplicate of:
Android: failed to allocate memory
I don't presume you would NOT do this, but I'm just going to say it anyway...
Check the details of the correct answer, but especially check the comments for the correct answer.
Seriously, I hope this helps. Android and Eclipse issues have been a problem for me in the past until I learned to crush them with a Zen-like attitude and much exhaustive research and trial-and-error.

How to increase Jelly Bean AVD emulator speed

I have installed the latest ADT for Windows 64-bit platform. My laptop configuration is:
2.2 GHz dual core processor
3 GB ram
300 GB HDD
The AVD boots slow. How can I increase its speed? What other ways can I optimize the emulator to work more quickly?
When you first run an AVD, make sure that saving snapshots is enabled. Get it to a state you like (probably the Home screen), and kill the emulator, letting it save the snapshot. Then edit the AVD to NOT save snapshots, but do boot from snapshot. Your AVD will now launch and close quickly, comparatively speaking.
One thing has worked well for me. Reduce the screen resolution of your AVD to the lowest necessary values.