PDA

View Full Version : To clean up memory leak : Log out or Reboot


May 16th 07, 03:53 AM
Hi,
I am developing software on Windows XP, before the code matures
normally it has many memory leak problem. I notice that the PC run
more and more slower.

I normally do a reboot, but do you think logout and login also do
the trick?

Thanks.

CreateWindow
May 16th 07, 03:59 AM
Hi,

Just shutting down the leaky application will free memory under Windows XP.
Kernel handle objects will be released when the OS sees your process has
terminated.
If you are writing a device driver or service, then a re-boot may be needed.
Also try writing better code! :-) If its using .NET then the garbage
collector may just need more time. Etc.

CreateWindow
http://mymessagetaker.com
Stop using those paper phone message pads
make the computer work for you.
http://justpageprobe.com
The FREE Web page utility you always wanted.
Monitor your enterprise Web Servers.
Keep your router connected.
Email your IP to where you need it.

> wrote in message
ups.com...
> Hi,
> I am developing software on Windows XP, before the code matures
> normally it has many memory leak problem. I notice that the PC run
> more and more slower.
>
> I normally do a reboot, but do you think logout and login also do
> the trick?
>
> Thanks.
>

Poprivet
May 16th 07, 10:25 PM
wrote:
> Hi,
> I am developing software on Windows XP, before the code matures
> normally it has many memory leak problem. I notice that the PC run
> more and more slower.
>
> I normally do a reboot, but do you think logout and login also do
> the trick?
>
> Thanks.

Jeez, try it! It's quick enough to do! And yes, it's likely to do it.

Google