[Mono-bugs] [Bug 679741] Process.GetCurrentProcess crashes the current process

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 29 12:29:42 EDT 2011



Peter Ericksen <peter.ericksen at medtronic.com> changed:

           What    |Removed                     |Added
                 CC|                            |peter.ericksen at medtronic.co
                   |                            |m

--- Comment #3 from Peter Ericksen <peter.ericksen at medtronic.com> 2011-04-29 16:29:42 UTC ---
(In reply to comment #1)
> There isn't really much value in this class working, could you tell me why you
> need it so we can tell you a better way to get the information you want?

We are trying to reduce our memory consumption on our Touch app. Although you
can use Instruments, for example, to see runtime and memory levels as a whole,
I cannot tell how much memory is being used by a particular chunk of code. I
wanted to use getCurrentProcess() or GetProcessesByName() to poll the memory as
we walked through the code. This is a standard, straightforward approach to
debugging, and is available to .NET developers. If there is a better way you
would recommend or a workaround, that would be good too.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list