Questions tagged [handle-leak]

23 questions
0
votes
0 answers

Thread management of libvlcsharp

My application has a limit on number of threads. When we exceed 100 threads, it will show handles leakage. Is there an option to reduce the thread number when using mediaplayer to play streaming RTSP? Thanks a lot! I used LibVLCSharp.WinForms: 3.6.7…
Carla_7
  • 1
  • 1
0
votes
1 answer

!htrace shows no callstack

When I use !htrace -diff in WinDbg to debug a handle leak, I get a lot of handles (probably the ones that are leaking) that do not show a callstack: What could be a reason for this and what options do I have to debug this further? Handle =…
bitbonk
  • 48,890
  • 37
  • 186
  • 278
0
votes
3 answers

Handle leaks with .NET System.Threading.Thread class

I've a problem that number of Handles in my app is continuously growing. I did the debugging and recognize that this is caused by System.Threading.Thread class which is used for some routine. To simplify the debugging I’ve created a sample .NET…
Mahno
  • 3
  • 1
  • 3
0
votes
2 answers

How can I get all frames of stack traces in "!htrace -diff" result?

It seems that "!htrace -diff" can only show 16 frames. How can I increase the frame counts in the stack traces? The following is one of the handles leaked detected by !htrace -diff. I can't read anything from it without a complete stack…
Calvin Kwok
  • 161
  • 1
  • 9
0
votes
2 answers

C# PerformanceCounter Class causes Handle Leak

I have an application developed with .NET 4.0. This application keeps track on some Custom Performance Counter and display to the user. Recently i found that there's handle leak in the application. The 2 types of handles are Mutant and PcwObject. I…
0
votes
1 answer

How to detect a handle leak in c# app

In my C# app , when it run i can see clearly in the windows task manager that the count of handle columns is steadly increase. The memory is fine and not increase , only the handle arrive to very high level. How can i debug this leak , detect it…
maz
  • 515
  • 2
  • 8
  • 22
0
votes
1 answer

Handle leak in .Net 2.0 windows application

We have to handle leaks in our application. We are testing some viewers in our application for some 200 open and close,and found that the handles count is around 200. For the same viewer the memory usage is constant and also the GDI count is also…
Mahesh KP
  • 6,248
  • 13
  • 50
  • 71
-3
votes
1 answer

when I use the django function object.filter ,the python's handle increased,how can i resolve this?

I use the WIN7 32 System,Django 1.8.13, Python 2.7. When I use functions like xxx.object.all() or xxx.object.filter('xx'),the python's handle number will increase. It seems that it used Class QuerySet, then the handle number will increase. Even…
1
2