• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception: The current process has used all

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Unhandled Exception: The current process has used all

    For the last 3 days I have been getting this error between 12:00am - 5:00am. I am running a very simple script on four charts of different instruments (3 Sim & 1 live ). Any idea how I can correct this? Checking on Microsoft site, they are pointing to corruption in the registry. If I have to uninstall , where in the registry would I locate the files and what are the names?.
    I was unable to attach an excel file, see below the error message.
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects
    6/13/2019 0:57 Default Unhandled exception: The current process has used all of its system allowance of handles for Window Manager objects

    #2
    Helloakitenge, thanks for your post.

    This error arises when the process (NinjaTrader in this instance) is creating too many objects. It would take a profiling of the custom script to determine if this is, in fact, caused by the script. Since you say the script is simple, it could be a registry problem, but I have little expertise with the Windows registry so I couldn't say if that would be the cause. You would need to take the PC into a Windows expert or just reinstall Windows completely if you believe this is the cause.

    Lastly, please make sure you are running the latest version of NinjaTrader, 8.0.18.1 (Help>About) If you are not on this update, please update by running the installer from the link below:
    https://ninjatrader.com/GetStarted

    If you did not write this script, I would recommend letting the developer know you are seeing this error come up in case they have any insight on the problem.

    Kind regards.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chris, strangely this is a new pc that is used for trading only. On my other pc where I an running the same script with NQ/ YM/ RTY / G6E, 6 charts with the same script not issue at all.
      I am very comfortable with Registry, I just need to know the location of the files and the name.
      Thanks again.
      Adiano

      Comment


        #4
        Hi akitenge, thanks for your reply.

        This might be due to my lack of knowledge in the Windows registry, I am not sure what files you need.

        There is a "NinjaTrader 8" folder in the Documents folder, this folder holds all user settings and data.

        The installation folder is in the ProgramFiles x86 directory.

        If you don't mind re-installing your indicators and setting up a new workspace, do a complete re-install of the platform. To do this, rename the "NinjaTrader 8" folder in your Documents to "NinjaTrader 8OLD", then run the newest installer again, select "repair" in the installer. This will generate a new user folder in the Documents. Run NinjaTrader without any addons to see if your get the problem. This could also simply be caused by this particular PC not having enough memory to process the request.

        Best regards.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          To determine if it is the script, run NT8 as you have been without the script for a couple of days, and then run it with the script. Then you will know.

          Comment


            #6
            Thank you ChrisL & Chartish

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Emma1, Today, 02:42 PM
            1 response
            15 views
            0 likes
            Last Post NinjaTrader_DrewO  
            Started by fx.practic, Today, 03:10 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by jertrade, Today, 02:50 PM
            2 responses
            10 views
            0 likes
            Last Post jertrade  
            Started by RedDuke, Today, 01:59 PM
            1 response
            18 views
            0 likes
            Last Post NinjaTrader_Kate  
            Started by MarianApalaghiei, Today, 01:18 PM
            1 response
            15 views
            0 likes
            Last Post NinjaTrader_PatrickG  
            Working...
            X