Re: best way to track down a memory leak?
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Wed, 2 Nov 2005 08:34:33 -0800
Your first stop should be task manager.
It's possible you're doing automation with, for instance, Word and every
time you run your app you start another instance of Word. It's not exactly
polite about memory usage and when you get 10 or so copies running can
really slow things down.
The task manager will tell you what exactly is consuming what.
Dan
tristan wrote:
> I use Win32 API's and have third party ActiveX controls, so I guess
> its possible they are causing the problem.
>
> Basically while testing our app by running and closing it mutiple
> times, after a few hours the machine needs a reboot, everything
> starts going very slowly, screen redraws slowly etc Haven't really
> check Task Manager memory usage, will monitor that soon.
>
>
>
>
> "Matthew L Reed" <nousenetspam at dead ice dot us> wrote in message
> news:%23r0jrTz3FHA.3876@xxxxxxxxxxxxxxxxxxxxxxx
>> I didn't think it was possible to create a memory leak with VFP,
>> since we don't have control over allocating and releasing memory,
>> however since it's written in c++ it is certainly possible that VFP
>> functions themself leak. What does the app do that makes you think
>> there is a memory leak? Have you monitored memory usage via task
>> manager?
>>
>>
>> "tristan" <tristan@xxxxxxxxxxxx> wrote in message
>> news:ugniuFz3FHA.2504@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hi,
>>>
>>> I think that my app maybe leaking memory somewhere. What would be
>>> the best way to confirm this using VFP code? And if it is, any
>>> ideas how I could go about finding out where the problem is.
>>>
>>> Thanks
>>> Tristan
.
- References:
- best way to track down a memory leak?
- From: tristan
- Re: best way to track down a memory leak?
- From: Matthew L Reed
- Re: best way to track down a memory leak?
- From: tristan
- best way to track down a memory leak?
- Prev by Date: Re: VFP9 installshield
- Next by Date: Re: How to get rid of the CTRL+A key function.
- Previous by thread: Re: best way to track down a memory leak?
- Next by thread: RE: best way to track down a memory leak?
- Index(es):
Relevant Pages
|