Low memory

Low memory

Postby Ehab Samir Aziz » Mon Jan 30, 2006 4:57 pm

Sometimes I should close many applications though my program is too small , and sometimes my programs issues can not create dialog box due to lack of memory ?
What should I do to avoid errors related to the memory ?
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Re: Low memory

Postby Enrico Maria Giordano » Mon Jan 30, 2006 4:59 pm

Double check if all your resources (font, bitmaps, pens, icons, etc.) are correctly released.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Ehab Samir Aziz » Tue Jan 31, 2006 3:40 pm

I am using non-resources in my program . All bouttons,says,gets inside the source . I actually noticed that the program is Ok in PC and in another it failed to create source dialogs .
I noticed if I reduced the number of gets it works fine and successfully creates the dialog within the source .
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Enrico Maria Giordano » Tue Jan 31, 2006 3:47 pm

What I meant was: if you have in your source code

DEFINE FONT oFont ...

check that there is

RELEASE FONT oFont

or

oFont:End()

too and similar.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Tue Jan 31, 2006 5:20 pm

Ehab,

Thats a FW for Clipper (16 bits) known issue. You have to increase the heapsize value in your Blinker LNK file. Increase it in 500 bytes steps until there is no error.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 33 guests