Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
a)How to calculate the runtime memory usage of my program in vb.net.b)After 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
Comments
Sergey Alexandrovich Kryukov at 22-Mar-13 1:54am
   
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...
—SA

1 solution

Rate this: bad
good
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.
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 370
1 Sergey Alexandrovich Kryukov 329
2 BillWoodruff 235
3 Afzaal Ahmad Zeeshan 209
4 CPallini 195
0 OriginalGriff 5,560
1 DamithSL 4,476
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 22 Mar 2013
Copyright © CodeProject, 1999-2014
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