Questions tagged [red-gate-ants]
57 questions
1
vote
1 answer
nunit large project integration tests, out of memory exception
I'm using nunit for running integration tests (which each test interacts with the database via nhibernate) for a large project with 600+ tests. problem is after 10-15 minutes minutes nunit throws out of memory exception. I used redgate ants memory…

Nabil.A
- 581
- 4
- 16
1
vote
1 answer
Disposing WPF User Control & Memory Management
I have created a custom data grid control inherited from wpf data grid control in WPF.
So when user query the database several hundred records return with fifteen to twenty columns each.
I was believing that when i control the screen all the memory…

Manvinder
- 4,495
- 16
- 53
- 100
1
vote
1 answer
Identifying the bottleneck in performance with help from ANTs profiler info
This code is running quite slowly:
public static class DB
{
readonly static InlineSql sql = new InlineSql();
public static IEnumerable GetLabItemsFromLabLineItems(IEnumerable items)
{
…

P.Brian.Mackey
- 43,228
- 68
- 238
- 348
1
vote
0 answers
Profiling a Lightswitch application?
We are in the requirements stage of a Lightswitch based app. I was looking for code profiling support for lightswitch applications and have tried Ants 7.1 which we already have licence for, but it does not appear to work when the .xap file is…

Lalman
- 946
- 2
- 11
- 27
1
vote
2 answers
How to run ANTS memory profiler from the command line
I'm trying to use ANTS memory profiler to monitor the memory consumption while i'm running automated test without luck.
I understand that ANTS Memory Profiler wants to be responsible for launching the application. My approach was to create an ANTS…

MarkDav.is
- 640
- 1
- 8
- 16
0
votes
2 answers
How can I tell if I have a memory leak?
I am using ANTS memory profiler and am somewhat baffled at the moment. If I load my site up and hook ANTS up to the process I can see the Private Bytes around 90mb, I then run the same routine a number of time with the following…

webnoob
- 15,747
- 13
- 83
- 165
0
votes
1 answer
ANTS Profiler for app that has NInject reference giving "Operation could destabilize the runtime"
I am trying to profile an application which uses Ninject. I am using ANTS profiler and when it hits the line
StandardKernel kernel = new StandardKernel();
the profiler is giving me the an error saying that the "Operation could destabilize the…

Mike Hanrahan
- 1,192
- 8
- 18
0
votes
1 answer
ANTS Profiler: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
I'm getting the error below during the "summarizing results" after stopping profiling a w3wp.exe process. Any ideas? Thanks in advance.
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
System.IO.FileNotFoundException
…

Ariel
- 5,752
- 5
- 49
- 59
0
votes
1 answer
Start profile button not enabled for .net core mvc application
I would like to profile the .net core web application using Ants profiler. Please see the below snapshot where the 'Start button' profile is not being enabled.
Any help is highly appreciated.

Sandeepkumar Gupta
- 420
- 3
- 14
0
votes
2 answers
How can I optimize the performance of my application based on a profile?
I have profiled my application and found out that not my functions are causing the delay I see but the winform functions. How can I correct this? For explanation see this:
And this is the result of the profiling:

Eli Braginskiy
- 2,867
- 5
- 31
- 46
0
votes
1 answer
Redgate failing to compare schema between different versions of SQL Server
I am trying to compare the data and schema using SQL Compare and SQL Data Compare (version 10.2).
The databases I am working with are in versions 2014 and 2016 of SQL Server.
I am getting this error message.
Any idea why this is happening - could…

t_plusplus
- 4,079
- 5
- 45
- 60
0
votes
3 answers
Can you use ANTS Performance Profiler to profile an application hitting SQL Server Express editions?
I want to know if it's possible to profile my web application when it's hitting a database on a SQL Server Express server with ANTS profiler.
Out of the box, I'm not able to. It's complaining about:
No event provider could be located for
the SQL…

Joseph
- 25,330
- 8
- 76
- 125
0
votes
1 answer
Memory leak. ManagementBaseObject stays as GC Root, but never cleaned up
I am using ANTS Memory Profiler to try and determine why my application's memory usage is continuing to grow.
I run the application and take various snapshots over time. I can see that the live instances of IWbemClassObjectFreeThreaded and…

Jeremy
- 44,950
- 68
- 206
- 332
0
votes
1 answer
Red Gate Ants does not trace any methods in deployed code
I'm using this profiler (trial version) to track down some performance issues occured in a web application. Locally it works fine and I see methods in a call tree. I want it to work also on remote server, to collect a performance profile there.
So…

myroman
- 532
- 5
- 11
0
votes
1 answer
Is my WPF UserControl being leaked through something I am doing wrong?
This is the first time I have used a profiler and thus also my first time for the ANTs Memory Profiler.
I have set up a test to isolated 2 user controls (written by me) on a test window called "WindowTest"
On WindowTest there is a user control…

darbid
- 2,545
- 23
- 55