Low memory

Post Reply
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Low memory

Post by Ehab Samir Aziz »

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 ?
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Low memory

Post by Enrico Maria Giordano »

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

EMG
Ehab Samir Aziz
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Post by Ehab Samir Aziz »

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 .
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Post Reply