Activity overview
Latest activity by David.Narraway
Problem when using Resource Compression and Encryption
We've just upgraded from v4 to v6 and have encountered a problem.
Assemblies modified with the earlier version worked fine with the resource compression/encryption option on, but now they don't. I ...
wild guess - when v6 arrives with its sampling mode it will be possible to attach that to a running process. As I understand it v5 is injecting instrumentation code into the JIT compilation process so can't be attached to a running process. / comments
wild guess - when v6 arrives with its sampling mode it will be possible to attach that to a running process. As I understand it v5 is injecting instrumentation code into the JIT compilation process...
The switch for NGEN is /Profile, which I did use, but obviously it won't have had any effect. Do you have any idea why I would have got the OOM exception? It doesn't happen when profiling normally, i.e. without using the native images. Might be something you have to look into.
David. / comments
The switch for NGEN is /Profile, which I did use, but obviously it won't have had any effect. Do you have any idea why I would have got the OOM exception? It doesn't happen when profiling normally,...
Native Images: Exceptions and other oddities
A little while ago I noticed that a lot of time was spent in the JIT complier when profiling our app, so I thought I'd spend some time getting to know NGEN. All well and good - reduced start up tim...
Ok, will do - next time it happens. / comments
Ok, will do - next time it happens.
Could not map the file 'myResults.amp5results' into memory
I've been getting this a lot in the last few days:
Could not map the file myResults.amp5results' into memory.
RedGate.Memory.Interface.Exceptions.CouldNotMapFileException
at h.a(Boolean , Int64 )
a...
I second the request for a snapshot deletion feature!
David. / comments
I second the request for a snapshot deletion feature!
David.
It helps to know I'm not alone!
Actually, something related that I noticed - if you select a namespace, go to the end and start deleting, each time you hit the backspace key a new "namespace" is added to the list.
For example, when I started with a namespace of the form "RootNamespace.ChildNamespace" in the box and started deleting from the end I got a list with entries:
RootNamespace.ChildNamesp
RootNamespace.ChildNamespa
RootNamespace.ChildNamespac
RootNamespace.ChildNamespace
etc.
These entries also get stored in the registry.
David. / comments
It helps to know I'm not alone!
Actually, something related that I noticed - if you select a namespace, go to the end and start deleting, each time you hit the backspace key a new "namespace" is ad...
Hi,
I
- take a snapshot
- group by namespace in the Class list
- expand a namespace until I find the class I'm interested in
- select the class in the list
---- icons for class reference explorer and instance list appear on the selected line
---- namespace field is cleared and view "jumps" to start of list
From your description it seems that you are not getting the problem since we diverge at step 4. I don't know if it's relevant, but my first snapshot doesn't have classes from the namespace I'm interested in. I perform an application action to get some instances from that namespace and then take another snapshot.
David. / comments
Hi,
I
- take a snapshot
- group by namespace in the Class list
- expand a namespace until I find the class I'm interested in
- select the class in the list
---- icons for class reference explorer a...
I've seen something like this problem as well, though it is with a C# forms application. The OP initially refers to "un-disposed instances", but subsequently indicates that the instance has been disposed but is still in memory.
Well reassuringly it seems there is a bug in the .NET framework. It is described in this article (http://connect.microsoft.com/VisualStud ... kID=428857) without a suggested work around. Fortunately a more complete article with a workaround can be found at http://www.scitech.se/blog/index.php/20 ... ork-20-sp1.
I have implemented the workaround described and can confirm that it solves the problem. You should note though that the reference will change anyway if/when another MDI child becomes the last active one. At that time the earlier one will be collected. So in a live system this probably isn't a big deal, but when using a memory profiler it does mis-lead.
I've seen a similar problem with a DevExpress tree component, but I have yet to find / come up with a workaround. I guess a simple example sent to DevExpress is the way forward.
Regards,
David. / comments
I've seen something like this problem as well, though it is with a C# forms application. The OP initially refers to "un-disposed instances", but subsequently indicates that the instance has been di...