Click here to Skip to main content
11,927,711 members (36,922 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET
a)How to calculate the runtime memory usage of my program in particular limit it is showing out of memory exception can u explain me why it is showing like that?
Posted 21-Mar-13 20:41pm
It doesn't see to work out this way. What is the purpose of monitoring of the memory usage? If this is to help with problem #2, it makes no sense, as formulated. If you want to resolve the problem of memory exception, you should find out what's going wrong. You can do it, but we cannot, as we cannot access your hard drive. You give us no information.

It cannot be a memory leak (please don't tell me that managed memory leaks are impossible with .NET; they are possible) which you need to eliminate...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

a) User a ".NET Memory Profiler". Google for it and you'll find a few.

b) With just the error message and nothing else, it's impossible for anyone to tell you what you're doing wrong.

It's entirely possible the message you're getting has nothing to do with memory at all. But, again, it's impossible to say what the problem is because you haven't given any information on what your code was doing at the time the message was thrown.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 22 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100