473,659 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tooltip not releasing memory

My application uses the tooltip to display "realtime" data. When a user
hovers over a control, information like temperatures and pressures are
displayed in the tooltip.

Using tootip.SetToolT ip(controlName, text) the controls tooltip is updated
every second. There are 50+ of these controls on a form.

I have used perfmon and graphed the working set of my application to track
this problem to the tooltip method. With tooltip.SetTool Tip commented out,
the working set graph is flat i.e. working set memory stays constant. Calling
tooltip.SetTool Tip, the working set memory steadily increases until my
application stops responding and I can't start other applications.

Any Comments?

Aug 29 '07 #1
1 2047
Hi,

Are you creating new tooltips each time?
How are you refreshing the info?

Without more details we can not pinpoint where theproblem is

You are on a good path, monitor the memory use when the tooltip is active
and instead of getting the real data put some dummy data. See when is that
the memory use is coming from.

"FredC" <Fr***@discussi ons.microsoft.c omwrote in message
news:20******** *************** ***********@mic rosoft.com...
My application uses the tooltip to display "realtime" data. When a user
hovers over a control, information like temperatures and pressures are
displayed in the tooltip.

Using tootip.SetToolT ip(controlName, text) the controls tooltip is updated
every second. There are 50+ of these controls on a form.

I have used perfmon and graphed the working set of my application to track
this problem to the tooltip method. With tooltip.SetTool Tip commented out,
the working set graph is flat i.e. working set memory stays constant.
Calling
tooltip.SetTool Tip, the working set memory steadily increases until my
application stops responding and I can't start other applications.

Any Comments?

Aug 29 '07 #2

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

Similar topics

4
3039
by: lebo | last post by:
Hi I'm trying to understand how Python handles memory usage and dynamic object loading and unloading. Problem to solve? Build a very low memory footprint (non-GUI) Python application for Unix/Windows. Why use Python? End user flexibility. So far it seems that (on Windows): (1) memory increases when you import <module>. Expected behaviour. (2) memory does not release when you del <module>. Why not? Is Python
2
314
by: Simon Richardson | last post by:
I recently found that one of my application was leaking memory every time I closed a MDIChild form. The garbage collector never reclaimed it and my windows handles kept increasing and increasing until eventually the application crashed After three days of looking through all of my code I found that it was the TOOLTIP component that was causing the problem The overcome the problem I had to add the following to the CLOSING procedure in the...
0
1397
by: Gupta | last post by:
Hi, Iam working on a C# application currently and involved in testing and fixing memory leaks in the application. The application has one main form which exists throughout the application cycle. Im having problem with a tooltip. I have link label in my form and attached a tooltip to it. When i dispose the linklabel and the tooltip, the tooltip
7
25968
by: trialproduct2004 | last post by:
Hi all I am having application in c# where i am loading one table of database into dataset. My table is of large size. so whenever i am loading that into dataset my memory size is getting increased. So what i want is as soon as i am setting dataset to null, memory should be released. But when i am looking into task manager for memory useage what i am
2
2205
by: M.Ob | last post by:
Hello... I am having issues with my asp.net apps not releasing memory. The memory usage for the process w3p.exe continues to grow to it's allowable limit and does not drop until the app pool is recycled. How do I get it so that the memory is released when no longer needed? I have tries setting up memory recycling at a lower limit than the defaults, but it recycles way too much slowing down the webs. Here is my setup:
8
11989
by: Sean | last post by:
I have a service that is pulling alot of records from a SQL Server table in a DataSet. This process takes up alot of memory, which is to be expected. But when the process is finished, I am clearing all the data I thought with: MyDataSet.Tables("MyTable1").Rows.Clear() MyDataSet.Tables("MyTable2").Rows.Clear() MyDataSet.Tables("MyTable3").Rows.Clear() But I'm monitoring the memory the process is doing and this isn't freeing the memory. Is...
5
1257
by: ODAN | last post by:
I have an application that was developed in ASP.NET/C#. On one of the pages, we are using tooltip to display the description of the textboxes. Wehn you move your mouse over a textbox the tooltip appears with a full description of the textbox on which you have your mouse. By default the tooltip display for 10 seconds and then disappear (according to Microsoft). Is there a way to make the tooltip display indefinetly. I have I searched the...
12
3145
by: iker.arizmendi | last post by:
Is there any way to get Python to release memory back to the C allocator? I'm currently running a script that goes through the following steps: 1) Creates a very large number of Python objects to produce a relatively small data structure that sits in a C extension. The Python objects consume quite a bit of memory. 2) Releases all the Python objects.
0
1619
by: walve_wei | last post by:
<1>use the D3D control panel, enable the debug DLL and maximum validation,for D3D control panel ,you need to install the directx sdk. <2>Start up the debug monitor (<MSVC install directory>\Common7\Tools \Bin\winnt\Dbmon.Exe). <3>If you use the tooltip in native code,then run the program,show the tooltip,then exit the program, the Dbmon.exe will report serious direct3d9 memleak in xp and vista os.but If I use the wpf tooltip in c#,it is...
0
8332
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8525
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7356
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.