473,398 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Leaks in Menu

Hi,
I wrote a simple application which has some menus in the
main menu. What i have observed is whenever i enable or
disable a menuitem, an integer is getting created
internally and not getting disposed.
I was able to find it with the use of a profiler.

Please respond if it's a bug in the framework or anyone
got a similar problem.

Thanks,
Gupta.

Nov 15 '05 #1
2 959
Um... first of all, ints can't be dispossed, only reference types.

Now, there's a lot of internal variables that need to be stored,
manipulated, etc. that we, the users, don't know (and don't need to know)
about. Does you app have a memory leakage problem because of this? By this I
mean, does it stop working or just allocates 4 bytes of memory once in a
while?

-JG
Nov 15 '05 #2
Yes..After 4 or 5 hours my application gives out of memory
exception. What i mean to say is even if the integers are
created, they should deallocated automatically.But in the
case of menuitems, the integers are still remaining.
-----Original Message-----
Um... first of all, ints can't be dispossed, only reference types.
Now, there's a lot of internal variables that need to be stored,manipulated, etc. that we, the users, don't know (and don't need to know)about. Does you app have a memory leakage problem because of this? By this Imean, does it stop working or just allocates 4 bytes of memory once in awhile?

-JG
.

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Maurice | last post by:
Hi there, I'm experiencing big memory problems on my webserver. First on an old RedHat 7.2 system, now on an other fresh installed Suse 8.2 system: Linux version 2.4.20-4GB...
0
by: Steve Binney | last post by:
My code makes synchronous HttpWebRequest and HttpRebResponse calls. In VS 2003, I am getting memory leaks and event handle leaks. I am closing all streams and using "using"statements. I have...
2
by: Generic Usenet Account | last post by:
I have been using STL for a long time now, without any problems. Recently we generated a purification report on our software using Rational Purify, and we found some memory leaks. My colleague...
3
by: laniik | last post by:
Hi. I was wondering if there were any known leaks using STL vectors. Also, I was wondering if I have to do any sort of deleting or memory clearing when im done with the vector, or will they be...
5
by: Valerie Hough | last post by:
Currently our client runs one particular C# .NET executable, and after a few hours performance slows to a crawl. It would be very useful for me to be able to rule in (or out) the possibility that...
2
by: Peter Strřiman | last post by:
Hi. I have a project that leaks :( I tried using the _crtDumpMemoryLeaks function, and I get the memory leaks written to the output window, but it doesn't show the correct source file. Instead...
0
by: Frank Lopez | last post by:
Does anyone know if Microsoft generated a whitepaper on this topic? Does anyone know what the solution is? (meaning, eliminate the leak problem -- I am seeing three memory leaks from...
4
by: ali.jan | last post by:
Hi, It is trivial to load an assembly in a new Application Domain. Is there any way of loading an assembly in a new process? I tried using the Process class like this: Process p = new...
3
by: Jim Land | last post by:
Jack Slocum claims here http://www.jackslocum.com/yui/2006/10/02/3-easy-steps-to-avoid-javascript- memory-leaks/ that "almost every site you visit that uses JavaScript is leaking memory". ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.