Home All Groups Group Topic Archive Search About

Simple timer uses more and more memory

Author
22 Mar 2009 10:24 PM
DrewEh
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.

Author
22 Mar 2009 10:38 PM
MikeD
"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
Are all your drivers up to date? click for free checkup

Author
23 Mar 2009 11:16 PM
DrewEh
Show quote Hide quote
On Mar 22, 4:38 pm, "MikeD" <nob***@nowhere.edu> wrote:
> "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

Thanks for the tip.  Mistake wont happen again.
Author
23 Mar 2009 6:23 AM
Cor Ligthert[MVP]
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.
Author
23 Mar 2009 7:31 PM
Eduardo
"Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> escribió en el mensaje
news:e27Eu$3qJHA.3648@TK2MSFTNGP05.phx.gbl...
[...]

You are lost here, please ask someone at home to help you configure Outlook
Express and go to the right group.
Author
23 Mar 2009 8:28 PM
Henning
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.
>
Author
23 Mar 2009 10:21 PM
Karl E. Peterson
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
Author
24 Mar 2009 12:43 AM
Henning
Show quote Hide quote
"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!

/Henning
Author
24 Mar 2009 12:00 PM
Bill McCarthy
Show quote Hide quote
"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)
Author
24 Mar 2009 12:55 PM
Henning
Show quote Hide quote
"Bill McCarthy" <TPASoft.com Are Identity Thieves> skrev i meddelandet
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)

Sure, I bet they care even less about what nonMVP's post. ;)

/Henning
Author
24 Mar 2009 1:55 AM
Henning
Show quote Hide quote
"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
>

Done! For whatever it is worth...

/Henning

Bookmark and Share