Red Gate forums :: View topic - Limit memory usage by preventing internet access attempts?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7
ANTS Memory Profiler 7 forum

Limit memory usage by preventing internet access attempts?

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
mikewoodhouse



Joined: 06 Jan 2012
Posts: 1
Location: London, UK

PostPosted: Fri Jan 06, 2012 9:56 am    Post subject: Limit memory usage by preventing internet access attempts? Reply with quote

I'm trying to evaluate Memory Profiler 7.2 but I keep being thwarted by a "runaway" memory allocation problem: profiler memory use runs up to outrageous levels (about 6GB private bytes, 4GB working set on my 4GB Win7x64 machine) and everything becomes so unresponsive that it's almost completely unusable. Not completely: things can get done, but it takes ages and is not a pleasant experience (!)

I've seen something like this once before: when Paint.Net tried to automatically access the internet to check for updates, which proved difficult through our corporate firewalls, proxies and other whatnot (I've no idea what's so special about it, I'm afraid, other than that we're a large financial organisation and there are probably some seldom-seen "features" at work somewhere). So it's mostly us.

I've tried the Knowledge Base certificate check disabling suggestion, modifying my hosts file. That seems to have speeded up UI availability dramatically: it appears in about 10sec. Within the next 10 seconds (without loading any profiling project) memory use starts to increase in tens-of-megabyte chunks, reaching the levels described above in about a minute. Could there be more internet access being attempted? Perhaps for updates? If so, is there a way to disable this? I hope so - the tool looks to be extraordinarily useful, if I can get around this weirdness.

UPDATE: It occurred to me that a worthwhile test might be to try again with my network cable disconnected - same problem, which is interesting. Or not.
_________________
Mike Woodhouse
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6588

PostPosted: Mon Jan 09, 2012 4:18 pm    Post subject: Reply with quote

Hi Mike,

I'm aware that our experts have already been in contact with you about this.

Unfortunately my impression is that this is an environment-specific issue as this behavior doesn't occur in-house and you can bet that we do test the software for memory leaks before it goes out.

The only internet accesses are certificate validation (this I may stress is a feature of .NET Framework and not done intentionally by us), check for updates, and activation. And you can elect not to check for updates automatically.

If you want to verify network access, you can try the fiddler tool (http://www.fiddler2.net).

What's not clear is when this "runaway" memory usage occurs -- for instance, how long was the profiler running, how many snapshots were taken, etc? It may be "normal" resource usage or it may not. The amount of resources consumed by profiler is directly proportional to the resource usage of the application being profiled and in most cases ANTS is being set to work on an application that is already fragile because it's being used in a curative rather than preventative way to investigate problems in an applicaiton that is already making the computer unresponsive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group