Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Video memory
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Er!k /!$$Er  
View profile  
 More options Oct 17 2012, 3:29 am
Newsgroups: comp.lang.clipper.visual-objects
From: "Er!k \\/!$$Er" <nos...@nospam.url>
Date: Wed, 17 Oct 2012 09:29:37 +0200
Local: Wed, Oct 17 2012 3:29 am
Subject: Video memory
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Willie Moore  
View profile  
 More options Oct 17 2012, 8:13 am
Newsgroups: comp.lang.clipper.visual-objects
From: Willie Moore <will...@wmconsulting.com>
Date: Wed, 17 Oct 2012 12:13:29 +0000 (UTC)
Local: Wed, Oct 17 2012 8:13 am
Subject: Re: Video memory
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Er!k /!$$Er  
View profile  
 More options Oct 17 2012, 9:48 am
Newsgroups: comp.lang.clipper.visual-objects
From: "Er!k \\/!$$Er" <nos...@nospam.url>
Date: Wed, 17 Oct 2012 15:48:14 +0200
Local: Wed, Oct 17 2012 9:48 am
Subject: Re: Video memory
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk (Belgium)  
View profile  
 More options Oct 18 2012, 3:25 am
Newsgroups: comp.lang.clipper.visual-objects
From: "Dirk (Belgium)" <dirk.dot.herijg...@pbprojects.dot.be>
Date: Thu, 18 Oct 2012 07:25:04 +0000 (UTC)
Local: Thurs, Oct 18 2012 3:25 am
Subject: Re: Video memory
Erik,

You can use X-Debug.
X-Debug has the possibility to hook almost every lowlevel drawing win32
api function. So, this way you can see which objects are not released
correctly.

Dirk (Belgium)

================================

--

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin  
View profile  
 More options Oct 18 2012, 4:21 am
Newsgroups: comp.lang.clipper.visual-objects
From: Martin <s...@spam.spam>
Date: Thu, 18 Oct 2012 09:21:12 +0100
Local: Thurs, Oct 18 2012 4:21 am
Subject: Re: Video memory
GDI Been there done that

Our leak was with cursors, I ended up creating them at programme start
and storing them in global variables, took 4 hours to crash with no GDI
resources.

Use

GetGuiResources(GetCurrentProcess(),GR_GDIOBJECTS)

DEFINE GR_GDIOBJECTS    := 0

This returns used GDI objects count.

On 17/10/2012 14:48, Er!k \/!$$Er wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »