"Not Enough Memory available" exception while running windows phone 8.1 emulator - windows-phone

"Windows Phone Emulator is unable to verify that the virtual machine is running :
Not Enough memory is available in the system to start an emulator that uses 2048 MB of startup RAM"
I am a beginner to Windows Phone App developement.I was trying to Deploy a Hub App template and while executing the code for the emulator I got the above error message! Please help me out.

Probably its because your machine does not hove enough RAM? acording to this article there are some workarounds.
Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
To work around this problem in a system that is running many programs that are using lots of memory, try to close those programs and then restart the emulator.
If the emulator still does not start, you can disable the Hyper-V runtime memory monitoring functionality by adding a MemoryReserve registry. To do this, follow these steps:
Start Registry Editor.
Locate the following registry subkey:
>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization
Right-click the Virtualization folder, point to New, and then click DWORD Value..
Type MemoryReserve, and then press Enter.
Double-click MemoryReserve, enter 2048 in the Value data box, select the Decimal option, and then click OK.
Close Registry Editor.
In systems that experience this problem and that have fewer than 8 GB of RAM installed, a MemoryReserve value of 2048 (2 GB) is recommended. A value of zero (0) causes this registry setting to be ignored.
Note You must restart the computer for this registry setting to take effect.
If this doesnt help give some more info about your machine haracteristics.
Also you can check this article

Related

Lenovo legion 7 slim stuck on boot screen

I need help fixing my laptop. Yesterday I updated some drivers, rebooted my system , saw a black screen which appeared to be updating bios. I rebooted my laptop thinking I did something wrong.
Now my laptop gets stuck on the Legion screen everytime.I have a macrium backup image on my external but don't think that will work. At this point I just want to get into windows then I can restore my disk image from the external. All my data is backed up.
I have performed a system restore and it still gets stuck at the Legion screen. I've run a chkdsk and it doesn't find any issues. When I tried to run bootrec.exe \Rebuildbcd it doesn't locate a windows installation.
I tried going into safe mode and ultimately get a blue screen saying the following:
We've run into a problem and your device needs to be restarted.
Driver pnp watchdog error
I also got a log error for
srtTrail.txt

VirtualBox won't run win10: Failed to open a session for the virtual machine w10. Result Code: NS_ERROR_FAILURE (0x80004005)

Ok so I want to get a virtual machine with Windows so I can download applications only on Windows (Not on OSX (I'm on Big Sur 11.2.3 by the way)), so I downloaded VirtualBox, then downloaded the Windows thing which apparently I have to (as seen in one of the pics) (you can tell I have hardly any experience with vms), then I created a new vm in the VirtualBox app, and left all the default settings except for the type of hard drive (which is also in one of the pictures), then I clicked Start and it asked me to add a 'virtual optical disk file', so I clicked on the folder button then clicked add in the top left, and it gave me this error code:
Failed to open a session for the virtual machine w10.
The VM session was aborted.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
as you can also see in one of the pictures below. Also, when I leave the screen for a couple of minutes right before I click on the previously mentioned add button, this appears:
but I tried just leaving it to load, and nothing happened. I have tried uninstalling using the uninstall tool twice, rebooting my Mac, etc etc, and yes I have allowed everything I need to in the Security settings. I'm not installing it on a moderator account, but the Windows 10 virtual optical disk file is in Documents which the account I'm on has read and write access to, and obviously the actual VM is in applications.
Thanks so much!
Here's the previously mentioned image of the one changed setting:
And here's the pic of the Win10 64-bit I had to install:
thanks everyone!
VirtualBox Version: 6.1.22 r144080 (Qt5.6.3)
Host Operating System: MacOS BigSur
I came across exactly same issue, where clicking on add to choose image was crashing the dialog. This issue persists in the latest version of Virtual Box for Mac.
I could figure out couple of ways to avoid clicking on Add button to choose image.
First Option:
Steps:
Click on Settings to open settings window for your VM.
Choose Storage
Select Empty disc and choose Disk image by clicking small disc icon in the Attributes section. Please follow the image to have visual instructions.
Second Option:
Steps:
Click on VM's Normal start
Once you get the option to choose image, simply cancel the dialog.
Now click on the small disc icon in the bottom of VM's dialog to choose the image.
Hope this helps. Feel free to comment if you find this post useful.
I had the same message because of permissions at directories where the hard disks were stored in. So, just execute VirtualBox 'As Administrator' and all run well.
I was getting the same error on Ubuntu 22.04 machine while trying to start an existing or a new VM-
Failed to open a session for the virtual machine NuacareRocky.
The VM session was aborted.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
I tried a few things as suggested on youtube, but nothing worked. finally, I just upgraded the extension and it worked.

Tricentis Tosca 11.0 - How to install HOST Engine

I have a Mainframe/HOST Application to automate using Tosca 11.0, I am unable to scan/steer elements in mainframe screen.
Solution found in Tricentis Support -
The Tosca Host Engine is installed by default as part of a complete Tricentis Tosca installation.
All information regarding software versions and hardware requirements for the engine can be found in the "System Requirements for Tricentis Tosca".
The file PCSHLL32.DLL needs to exist in the system and the operating system needs to know the path to this file (with the system variable PATH).
The 3270 terminal emulation needs to be initialized correctly, so that the connection to the HOST system to be tested can be established. Additional information is available from your system administrator.
I couldn't locate PCSHLL32.DLL in my PC.
Has anyone faced same issue? can someone help where to get PCSHLL32.DLL and get HOST engine working.
I had this problem for a while. I kept trying to figure out how to install the Host module because I couldn't find that PCSHLL32.DLL on my system...
Turns out HOST was already there... I just had to get Tosca Commander configured to find my terminal app (I'm using QWS3720 from Jolly Giant).
Try this - Go into Tosca Settings, and go to Settings > Special Engines > HostEngine> Emulation Environment and check the following settings:
1) Emulation Title: this should be the window title of your terminal emulator. * works as a wildcard. Since QWS3270 changes it's window name to match it's session, we just use * in this field.
2) Emulation Type: try to find your terminal emulator's maker listed here... Mine is set to Jolly Giant.
3) Session ID: this is the important one. This is the HLLAPI ID of the term window, basically the handle that automation needs to know to "see into" the terminal window. it seems to typically be set to "A" (same as with QuickTest Pro/UFT).
Once these settings are correct, then TRY to scan your terminal window. Launch your terminal emulator first, CONNECT with it (to start up the HLLAPI), then run Tosca's scanner - just don't expect it to scan like web pages, it will use the older scanner. Select Scan Application > Other... and it will start the older "Tosca Wizard". Click Scan, then point to your Terminal emulator. If you see the little box showing "Recognized Wizard >HOSTEngine
Good Luck!

Use of Hyper Visor to run the Windows Phone Emulator

I am really new to Windows Phone 8 App development. I would be grateful to you if you can answer my question. I have a machine with Intel(R) Core(TM) i3 processor and when checked I found out that my virtualization setting enabled.
I installed Windows Pro 8.1 in to my machine and then it indicates that my Hyper Visor is default switched off and I had to run it. But when I run it after making some of the changes by restarting the machine, suddenly for some unknown reason it undoes every change made finally leaving the machine with no Hyper Visor running.
I come across the same process when I am to run the Windows Phone emulator to test Windows Phone 8 Apps.
I hope my issue is clear to you all, can someone help me to fix this issue or tell me the exact reason behind this?
I would look at my Windows Event log and see if you perhaps there's a problem with Hyper-V being incompatible with a driver or something like that. It may be failing to reboot and the doing a system restore to get the machine back to a bootable state (by rolling back Hyper-V). I've had problems with Hyper-V and my HP laptop's blue tooth drivers:
Here's the thread where I found out about that:
HP Bluetooth / Hyper-V woes
Updating the driver to the newest version on HP's site fixed my computer for a while, but then I had problems with Windows Update hosing my machine with an update to the Bluetooth driver.
I seem to have fixed it for good by going to RA Link's website and downloading a version of the driver that's newer than the one on HP's website. I'm not at my personal computer right now, but if you'd like I can see if I can find the driver version that seems to have fixed my Bluetooth/hyper-v problems for good.
-Eric

No error, but program won't start on WIn 8?

I have written a program in VB.Net and run it for a few years on Vista and Win 7 without issue. It is a requirements management tool front end to an Access or SQLServer backend database.
A few months ago I installed it on Win 8. It is a 64-bit version of my program running on a 64-bit laptop. It installs fine and runs OK initially. However, after a few weeks it stops running. This has happened twice, the last time after 28 days.
When I try to run the program nothing happens - no splash screen, no error message, no entry in the Applications Log in Event Viewer - just nothing happens. The only solution has been to re-install the program and then it starts working again.
I have tried: turning off all malware, firewall and anti-virus programs; running the program as Administrator; running in various compatibility modes. Nothing happens.
I also tried removing the license file from the program directory. When I did that I did get an error message in the Application Log in Event Viewer, so the program is trying to start. But when I returned the license file it still won't start and there is no error message in the log file.
Program was written in VS 2008 under .Net framework 3.5. I don't think this is an issue, since it runs fine for about a month after install. Also, it is not the license file. The license is perpetual, and anyway if it fails the license there is a splash screen that comes up, and that is not happening.
Can anyone suggest where I might look in Win 8 to try and work out what is going on when I try to start the program?
UPDATE: Through using the Reliability Monitor I have just noticed that at 2:30pm on the afternoon of the problem Windows Installer reconfigured my application. I had the app open all afternoon. but when I shut it at around 4:40pm, then tried to open it again, the problem above emerged.
Description
Windows Installer reconfigured the product. Product Name: Capability Architect. Product Version: 1.0.0. Product Language: 1033. Manufacturer: SDG. Reconfiguration success or error status: 0.
The reason for the reconfiguration was:
Detection of product '{221672D4-9B64-4550-8B8A-A13C4BE20780}', feature 'DefaultFeature', component '{4F120286-6AE1-5DFE-65E4-A4495CA3F296}' failed. The resource 'C:\Users\Public\Desktop\SDG\Capbility Architect Template v2.0.accdb' does not exist.
Now, that file is installed by default with the product. However, I had deleted it earlier that day because I never use it and that seems to have triggered the reconfiguration. Is that normal behaviour?? And why should a reconfiguration stop the program from running? And is it possible to see exactly what the reconfiguration actually did?
EXTRA UPDATE: If this is the problem then I can't replicate it :( I tried deleting the folder again but it has not affected program start up at all.
Thanks
Ian