Message from discussion
Video memory
Received: by 10.68.242.68 with SMTP id wo4mr4980873pbc.1.1350481698554;
Wed, 17 Oct 2012 06:48:18 -0700 (PDT)
Path: s9ni18195pbb.0!nntp.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Er!k \\/!$$Er" <nos...@nospam.url>
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Video memory
Date: Wed, 17 Oct 2012 15:48:14 +0200
Lines: 49
Message-ID: <ae7r91Fnm6bU1@mid.individual.net>
References: <ae7532FiiacU1@mid.individual.net> <1239179402372168623.341935williem-wmconsulting.com@news.aioe.org>
Mime-Version: 1.0
X-Trace: individual.net hTvFcbYAvYhJQpebgmLrbg1EP/dbVXFLJ4HlAJyOnHz3tOgBtnaATLiSyN+iJ9ZlTX
Cancel-Lock: sha1:6uWnqHYKzq69JXZAni18fZVSy/k=
In-Reply-To: <1239179402372168623.341935williem-wmconsulting.com@news.aioe.org>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 15.4.3555.308
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=original
Content-Transfer-Encoding: 8bit
Hi Willie,
Must be something like that. I now monitor (how to was written in another
thread) the GDI usage and that increases and increases ...
So I'll have to figure out what causes this.
Thanks a lot,
Erik
"Willie Moore" schreef in bericht
news:1239179402372168623.341935williem-wmconsulting.com@news.aioe.org...
Erik,
In my drawing program, I had a leak where I wasn't releasing the bitmap
handle after I created a jpg. You might check your drawing routine to make
sure that
You clean up your drawing handles after an edit. Mine was a pain to figure
out. I was expecting garbage collection to clean up but because I didn't
release an Ibarra that had a reference to my DIB, it didn't happen.
Hope that this helps.
Regards,
Willie
Vulcan VIP
"Er!k \\/!$$Er" <nos...@nospam.url> wrote:
> At one of the customers sites a VO apps with lots of drawing 'hangs' a
> few time each day. It cannot be reproduced. The program can be closed
> with the closebutton. (So no need to force a close with the taskmanager)
> . There is no error message.
> I now monitor some recourses , but this does not gives me a clue.
> startup: At
> hang
> Memory(MEMORY_REGISTERAXIT) 402 395
> Memory(MEMORY_DYNINFOUSED)/1000 369 357
> DynInfoFree()/1000 16407 16418
> MemTotal()/10000 356 358
> (Memory(MEMORY_WINDOWS_SYSTEMRESOURCES) 80 65-67
>
> At the ‘hang’, all controls are gray. A printscreen at this point says:
> “insufficient memory available to bitmap image. Close one or more
> applications so that more memory available “
> So what memory and how should I monitor to find the cause? Any other
> suggestions?
>
> Erik