|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Simple timer uses more and more memoryI'm using Visual Basic 2008 Express to build a (hopefully) very simple form. Problem When timer runs, and interval set to anything above 0, memory useage of the app continues to increase. Scenario Form1 with a Label1, and a Timer1 control. On form load, Timer1.Start( ) On Timer1 tick, Label1.text = now Run the application. The application initially uses about 10MB ram. As time passes, its usage increases slowly. Any thoughts on how to prevent the system from expanding like this? I'm obviously quite new to VB so any help is appreciated, as much detail as possible. "DrewEh" <cavalier_***@hotmail.com> wrote in message This newsgroup (and all the microsoft.public.vb.* groups) are for VB6 and news:e2406651-359c-4116-865c-5fa783ed5cc0@f1g2000prb.googlegroups.com... > Hi Everyone, > > I'm using Visual Basic 2008 Express to build a (hopefully) very simple > form. earlier. All .NET languages (which Visual Basic 2008 is) have their own newsgroups which have either "dotnet" or "vsnet" in their names. You need to post your question in one of those. -- Mike
Show quote
Hide quote
On Mar 22, 4:38 pm, "MikeD" <nob***@nowhere.edu> wrote: Thanks for the tip. Mistake wont happen again.> "DrewEh" <cavalier_***@hotmail.com> wrote in message > > news:e2406651-359c-4116-865c-5fa783ed5cc0@f1g2000prb.googlegroups.com... > > > Hi Everyone, > > > I'm using Visual Basic 2008 Express to build a (hopefully) very simple > > form. > > This newsgroup (and all the microsoft.public.vb.* groups) are for VB6 and > earlier. All .NET languages (which Visual Basic 2008 is) have their own > newsgroups which have either "dotnet" or "vsnet" in their names. You need > to post your question in one of those. > > -- > Mike You are probably watching your task manager, it is for endusers.
Have a look what Willy wrote about that. http://groups.google.com/group/microsoft.public.dotnet.general/search?group=microsoft.public.dotnet.general&q=taskmanager+willy&qt_g=Search+this+group (It is mostly in C#) Cor Show quoteHide quote "DrewEh" <cavalier_***@hotmail.com> wrote in message news:e2406651-359c-4116-865c-5fa783ed5cc0@f1g2000prb.googlegroups.com... > Hi Everyone, > > I'm using Visual Basic 2008 Express to build a (hopefully) very simple > form. > > Problem > When timer runs, and interval set to anything above 0, memory useage > of the app continues to increase. > > Scenario > Form1 with a Label1, and a Timer1 control. > On form load, Timer1.Start( ) > On Timer1 tick, Label1.text = now > > Run the application. > The application initially uses about 10MB ram. As time passes, its > usage increases slowly. > > Any thoughts on how to prevent the system from expanding like this? > I'm obviously quite new to VB so any help is appreciated, as much > detail as possible. "Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> escribió en el mensaje You are lost here, please ask someone at home to help you configure Outlook news:e27Eu$3qJHA.3648@TK2MSFTNGP05.phx.gbl... [...] Express and go to the right group. Not even a redirect now-a-days? And as most times way too late. Collecting
posting points? I know the MVP's are not checked for what, just that they post in groups. /Henning Show quoteHide quote "Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> skrev i meddelandet news:e27Eu$3qJHA.3648@TK2MSFTNGP05.phx.gbl... > You are probably watching your task manager, it is for endusers. > > Have a look what Willy wrote about that. > > http://groups.google.com/group/microsoft.public.dotnet.general/search?group=microsoft.public.dotnet.general&q=taskmanager+willy&qt_g=Search+this+group > > (It is mostly in C#) > > Cor > > > > "DrewEh" <cavalier_***@hotmail.com> wrote in message > news:e2406651-359c-4116-865c-5fa783ed5cc0@f1g2000prb.googlegroups.com... >> Hi Everyone, >> >> I'm using Visual Basic 2008 Express to build a (hopefully) very simple >> form. >> >> Problem >> When timer runs, and interval set to anything above 0, memory useage >> of the app continues to increase. >> >> Scenario >> Form1 with a Label1, and a Timer1 control. >> On form load, Timer1.Start( ) >> On Timer1 tick, Label1.text = now >> >> Run the application. >> The application initially uses about 10MB ram. As time passes, its >> usage increases slowly. >> >> Any thoughts on how to prevent the system from expanding like this? >> I'm obviously quite new to VB so any help is appreciated, as much >> detail as possible. > Henning wrote:
> Not even a redirect now-a-days? And as most times way too late. Collecting Send it to mvpga@ and be sure to cc steveb@ with "MVP" in the Subject.> posting points? > > I know the MVP's are not checked for what, just that they post in groups.
Show quote
Hide quote
"Karl E. Peterson" <k***@mvps.org> skrev i meddelandet That I sure will do, every now and then if it continues, thx Karl!news:u$2HIXArJHA.5356@TK2MSFTNGP03.phx.gbl... > Henning wrote: >> Not even a redirect now-a-days? And as most times way too late. >> Collecting >> posting points? >> >> I know the MVP's are not checked for what, just that they post in groups. > > Send it to mvpga@ and be sure to cc steveb@ with "MVP" in the Subject. > -- > .NET: It's About Trust! > http://vfred.mvps.org > /Henning
Show quote
Hide quote
"Henning" <computer_h***@coldmail.com> wrote in message And I'll be sure to send them this ;)news:49c82cc6$0$16214$57c3e1d3@news3.bahnhof.se... > > "Karl E. Peterson" <k***@mvps.org> skrev i meddelandet > news:u$2HIXArJHA.5356@TK2MSFTNGP03.phx.gbl... >> Henning wrote: >>> Not even a redirect now-a-days? And as most times way too late. >>> Collecting >>> posting points? >>> >>> I know the MVP's are not checked for what, just that they post in >>> groups. >> >> Send it to mvpga@ and be sure to cc steveb@ with "MVP" in the Subject. >> -- >> .NET: It's About Trust! >> http://vfred.mvps.org >> > > That I sure will do, every now and then if it continues, thx Karl! > (ROFLAMO)
Show quote
Hide quote
"Bill McCarthy" <TPASoft.com Are Identity Thieves> skrev i meddelandet Sure, I bet they care even less about what nonMVP's post. ;)news:%23fa3UiHrJHA.3864@TK2MSFTNGP02.phx.gbl... > > "Henning" <computer_h***@coldmail.com> wrote in message > news:49c82cc6$0$16214$57c3e1d3@news3.bahnhof.se... >> >> "Karl E. Peterson" <k***@mvps.org> skrev i meddelandet >> news:u$2HIXArJHA.5356@TK2MSFTNGP03.phx.gbl... >>> Henning wrote: >>>> Not even a redirect now-a-days? And as most times way too late. >>>> Collecting >>>> posting points? >>>> >>>> I know the MVP's are not checked for what, just that they post in >>>> groups. >>> >>> Send it to mvpga@ and be sure to cc steveb@ with "MVP" in the Subject. >>> -- >>> .NET: It's About Trust! >>> http://vfred.mvps.org >>> >> >> That I sure will do, every now and then if it continues, thx Karl! >> > > And I'll be sure to send them this ;) > > (ROFLAMO) /Henning
Show quote
Hide quote
"Karl E. Peterson" <k***@mvps.org> skrev i meddelandet Done! For whatever it is worth...news:u$2HIXArJHA.5356@TK2MSFTNGP03.phx.gbl... > Henning wrote: >> Not even a redirect now-a-days? And as most times way too late. >> Collecting >> posting points? >> >> I know the MVP's are not checked for what, just that they post in groups. > > Send it to mvpga@ and be sure to cc steveb@ with "MVP" in the Subject. > -- > .NET: It's About Trust! > http://vfred.mvps.org > /Henning |
|||||||||||||||||||||||