I'm getting an insufficient memory error while running a stand alone application in NT 4.0. I receive the error when populating an array from a field in a table. The applicaiton worked fine in 3.1, and is now causing problems. Any solutions?
HI,
1. If you have an ICON on the desktop,
Select this Icon
Right Click on the mouse
Select Properties
There will be a Memory TAB
and in this TAB select HMA as AUTO if this is none.
2. May be this is not available on the ICON (because it depends on the way you created the shortcut).. in which case, Browse using explore and reach the application
Now high light this application and Right Click on the mouse. Now do the same above suggestion.
This shall solve your problem.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
- unfortunately MS killed this article off early in 2000 (they really don't want to support FPW any more). [See Article quoted below thanks to Cindy].
While some or the problems can't be fixed (Filer e.g.), there are workarounds for most of the others. e.g. The listbox problem can be fixed, in some cases, by using the ideas in Paul Lee's FPWListBox file at
"Cindy Winegarden" wrote in message news:3a69955c@news.devx.com...
> Here's the text of the article:
> -------------
> PRB: Insufficient Memory in FoxPro for Windows on Fast Computers
> Last reviewed: January 8, 1998
> Article ID: Q171047
> The information in this article applies to:
> Microsoft FoxPro for Windows, versions 2.6 & 2.6a
>
> SYMPTOMS
> Working programs in FoxPro 2.x fail with "Insufficient Memory" when run on
> newer, faster computers with clock speeds greater than 150 MHz. This
problem
> applies to both screens with list boxes and queries, but this article
> addresses only the problem with FoxPro screens.
>
> The "Insufficient Memory" error message may also occur while in Filer when
> changing to a local(not network) directory which contains a large number
of
> files.
>
> The failure also happens on both MMX and non MMX Computers. The operating
> system could be Windows 3.x, Windows for Workgroups 3.x, Windows 95 or
> Windows NT. This error does not occur in FoxPro For MS-Dos.
>
> CAUSE
> The current fast computers were not available for testing when FoxPro 2.x
> for Windows was initially released. Microsoft FoxPro for Windows, 2.x does
> not always work with list boxes populated from tables with more than 600
> records.
>
> RESOLUTION
> At this time Microsoft does not have a good workaround; however, the
> following are options to consider:
>
> Upgrade the application to Visual FoxPro 3.0 or 5.0.
>
> Turn off either CMOS cache (slow) or CMOS turbo mode (very slow).
>
> Reduce the number of records to be displayed in the ListBox (under 600).
>
> Run the FoxPro applications (app) and executables (exe) on a slower
> computer.
>
> Using an array as the source of the list items in the list box is the best
> resolution for this problem. To change the screen created in the Steps to
> Reproduce Behavior section below, follow these steps.
>
> a. In the Setup Code for the screen, add the following command:
>
> COPY TO ARRAY aTableField FIELDS charval
>
> b. Double click the listbox on the screen while in design mode.
> In the List dialog box that appears, change the List Items to
> From Array and put aTableField in for the array name. Choose Ok.
>
> c. Save and generate the screen.
>
> d. Although this shouldn't be necessary, it has been reported that
> the array needs to be released when the screen is closed. To do
> this, add the following command to the Cleanup Code of the
screen:
>
> RELEASE ALL LIKE aTableField
>
> Along with the steps listed above, some users have found that adding the
> following line to the Config.fpw file helps to solve the problem:
>
> MEMLIMIT = 60,2048,4098
>
> STATUS
> Microsoft is researching this problem and will post new information here
in
> the Microsoft Knowledge Base, as it becomes available.
>
> MORE INFORMATION
> Use the Microsoft Knowledge Base at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.