unknown software exception (0xe0000008) occurred in the application at location 0x00000007704D8A2 this error occurred during automation execution on Azure vm

Ram Kadam 20 Reputation points
2023-07-25T04:36:25.3466667+00:00

We are facing critical issues with automation execution in our Azure VM, and we require immediate assistance to resolve them. During the automation process, we encounter intermittent "ConnectionLostException" errors, which disrupt the execution and impact productivity. Additionally, users attempting to access the VM via a browser receive an "Aw, Snap! Something went wrong while displaying this website" error with the error code "Out of memory" and the exception "unknown software exception (0xe0000008) occurred in the application at location 0x00000007704D8A2."

System Information:

  • VM Configuration: 8 GB RAM
  • Operating System: Windows 10
  • Software Stack: Visual Studio, Selenium C#, NUnit

The combination of the "ConnectionLostException" and "Aw, Snap!" errors, along with the system information, indicates severe instability and potential memory-related issues within the VM, leading to degraded performance.

We have already performed preliminary troubleshooting, including reviewing network configurations and VM settings, but the issues persist.

To ensure the uninterrupted execution of our automation workflows and resolve memory-related browser access problems, we urgently seek your expertise and guidance.

Attached is a screenshot of the error for reference.

Your prompt attention and support in this matter are highly appreciated.

Thank you.

Ram Kadam

******@interbizconsulting.com

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,332 questions
0 comments No comments
{count} votes

Accepted answer
  1. RevelinoB 3,440 Reputation points
    2023-07-25T04:42:26.63+00:00

    Hi Ram Kadam,

    I'm sorry to hear that you're facing critical issues with your Azure VM and automation execution. Based on the information provided, it seems like there might be memory-related problems leading to the intermittent "ConnectionLostException" errors during the automation process and the "Aw, Snap!" error with "Out of memory" exception when accessing the VM via a browser.

    Given the severity of the issue and the potential impact on productivity, here are some steps you can take to address the problem:

    • Memory Usage Analysis: Monitor the memory usage of your Azure VM during automation execution and when accessing the VM via a browser. Use performance monitoring tools to identify if there are any spikes or consistently high memory usage that could be causing the issues.
    • Check Resource Limits: Ensure that your Azure VM is provisioned with sufficient resources to handle the automation workload and the browser usage. In this case, with 8 GB RAM, it's possible that the VM may be reaching its limits, especially when running multiple processes. Optimize Automation Code: Review your automation code, particularly the usage of resources like WebDriver and browser instances. Make sure to properly close and dispose of them after use to prevent memory leaks and unnecessary resource consumption. Investigate Network Connectivity: Although you mentioned that you've reviewed network configurations, it's essential to double-check for any network-related issues that could be causing intermittent connection problems during automation. Review Browser Extensions: If the "Aw, Snap!" error occurs only during browser access, inspect any installed browser extensions. Disabling or removing extensions one by one can help identify if any of them are causing conflicts or excessive memory usage. Browser Configuration: Check the browser settings and configurations for any issues that might be contributing to the "Out of memory" error. For instance, browser caching or session storage could impact memory usage. Windows Updates: Ensure that your Windows 10 operating system is up to date with the latest patches and updates. Review Logs: Examine system logs, application logs, and event viewer entries on the VM to look for any specific error messages or patterns that could provide insights into the root cause of the issues.

    If the problem persists even after taking these steps, it might be beneficial to engage Microsoft Azure Support or seek assistance from an Azure expert who can perform a more in-depth analysis of your Azure VM's performance and configuration.

    Remember to take backups of critical data and configurations before attempting any significant changes or troubleshooting steps to avoid any data loss.

    I hope these suggestions help you in resolving the issues and ensuring uninterrupted automation execution and browser access. Please let me know if this is helpful?

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.