Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to go beyond the 10000 GDI objects limit with NT7 or NT8

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

    How to go beyond the 10000 GDI objects limit with NT7 or NT8

    Hello,

    My current workspaces have too much GDI objects and make Ninjatrader crash when changing workspaces. I've read on google about changing the maximum in the registry to over 10000 handles with the GDIProcessHandleQuota(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota)
    but it seems like a maximum I can't unlock. Does someone else achieved a way to go over this number?

    I've tried to add desktop heap too but doesnt work neither (reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Session Manager\SubSystems" /v windows).

    #2
    Hello baoumbox,

    Graphics are rendered much differently from NinjaTrader 7 to NinjaTrader 8. With either, it would be outside of the realm of support to assist in modifying your windows environment to increase the workload.

    This thread will remain open for any community members that would like to assist.

    Instead my suggestion would be to remove all unnecessary rendered objects from your workspace.

    With NinjaTrader 7 drawing is done with GDI+ and all rendering is done on the CPU on a single thread.

    With NinjaTrader 8 drawing is done with DirectX and all rendering is done on the GPU utilizing several threads for different scripts.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      The 10000 objects make NT7 crash just when I'm changing workspaces. I've got more like 3000 on my workspaces. I wanted to unlock the limit just for NT to be stable for a second when it comes accross this limit.

      I've read that some people achieved to unlock it in previous windows but there's no information about windows 10 and their way of making it work isnt working.

      Comment


        #4
        Hello baoumbox,

        While changing your windows environment is outside of the realm of support, if you would like assistance reducing your workspace I am happy to assist.

        Please let me know if you would like assistance reducing your workspace.

        This thread will remain open for any community members that would like to assist with modifying your windows environment.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by baoumbox View Post
          The 10000 objects make NT7 crash just when I'm changing workspaces. I've got more like 3000 on my workspaces. I wanted to unlock the limit just for NT to be stable for a second when it comes accross this limit.

          I've read that some people achieved to unlock it in previous windows but there's no information about windows 10 and their way of making it work isnt working.
          If you post some sample code, I'd like to check it out. Don't post what your working on, but something that creates these 3000 objects that causes the crash.

          Comment


            #6
            Please see the following thread, it hopefully helps you solve your issue (it is not about number of GDI Objects, it is about number of User Objects):

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by janio973, Today, 07:24 PM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by aligator, 01-06-2022, 12:14 PM
            4 responses
            238 views
            0 likes
            Last Post john_44573  
            Started by reynoldsn, Today, 05:56 PM
            0 responses
            12 views
            0 likes
            Last Post reynoldsn  
            Started by bortz, 11-06-2023, 08:04 AM
            51 responses
            1,992 views
            0 likes
            Last Post aligator  
            Started by dmking, 11-12-2019, 12:31 PM
            4 responses
            4,157 views
            0 likes
            Last Post jasonw
            by jasonw
             
            Working...
            X