SAVE.WINDOW Not enough string space (AREV Specific)
At 20 APR 2005 06:04:08PM Marti Hill wrote:
I have a large data entry window (175 lines) that needs modification. The last time it needed modification was June 2004 and I had no problem doing so. The window will open, I can add and remove prompts and fields, but when I save it I receive "Not enough string space. Out of Memory" error and no changes are made. AREV 2.11, Windows Server 2000, Windows XP SP2 workstation. I am able to modify all other windows, reports, lists and forms without error. I really don't want to try to recreate this window from scratch … does anyone have suggestions on how I might recover at least some of the window?
Thanks
Marti
At 20 APR 2005 06:36PM Warren Auyong wrote:
There should be a '.bak' copy in the WINDOWS/TEMPLATES file. What version it is you have to determine your self
make backup copies of the WINDOWS/TEMPLATE records in question (copy them to some other file or to another name).
You can then copy the yourwindow.bak record over yourwindow or to some other record name and paint that.
If you're just deleting prompts you can edit the windows/templates record in the editor and just ctl-d the prompts you don't want. The first field of the record is the number of prompts in the window and the next x number of fields are the prompts. Just make sure to adjust the count in field 1.
So if the first line is 153 next 153 lines are the prompts. If you delete 3 of these adjust it to 150.
Just be sure to backup the windows/templates file or the records you are working on first.
At 21 APR 2005 04:32AM support@sprezzatura.com wrote:
In addition to Warren, check that you have EMS memory by typing WHO at TCL. That could be part of the problem.
support@sprezzatura.com
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
At 25 APR 2005 10:16AM Marti Hill wrote:
Thanks for the suggestions, but apparently the problem is my new workstation. AREV works as expected on a Dell Optiplex SX270, but NOT on a Dell Optiplex SX280. Go figure!
At 25 APR 2005 11:19AM Warren Auyong wrote:
You're probably not getting expanded memory on the new system.
At 25 APR 2005 01:31PM Marti Hill wrote:
Perhaps, but the memory information when "who" is typed in each of the systems indicates that EMS is enabled and working.
At 25 APR 2005 04:18PM Warren Auyong wrote:
How much available conventional memory is "WHO" showing? When it drops below 200K ARev starts running out of string space for just about everything. Something on the system is probably eating up conventional memory.
At 25 APR 2005 09:34PM Barry Stevens wrote:
How much EMS is showing in: WHO, command line & shortcut properties.?
At 28 APR 2005 05:09PM Marti Hill wrote:
Sorry for the delay. EM allocated says 2,097,152. Available memory without window template loaded is 309,836. With window template loaded is 120892. EM used without window template loaded is 272,384. EM used with window template loaded is 336,896.
At 28 APR 2005 09:49PM Barry Stevens wrote:
do you have /XM4096 in your arev.exe command line.
Is EMS set to 4096 in the Memory tab of your shortcut.
At 29 APR 2005 09:22AM Warren Auyong wrote:
If you're willing to experiment, try doing whatever it is that causes the error on the workstation then at the debugger prompt (!) type a pound sign (#). This will do a garbage collect flush and report your memory stats at that point.
Otherwise the memory stats look great.
At 02 MAY 2005 11:46AM Marti Hill wrote:
Here are the statistics after Garbage Collect:
There are 1487 descriptors used.There are 301532 bytes of string space free.The PROGRAMS array consumes 210352 bytes of memory.Thank you, Barry and Warren, for your persistence. Today I stumbled on to the problem as well as the solution. For years I've been using the Microsoft pif dynamic parameter (a question mark) on the command line for AREV Q:\AREV ? to allow me to dynamically log on as one of several different accounts. There have been no issues with the Windows parameter nor problems with the lack of AREV parameters for extended memory. Now, however, differences in the Dell 280 require both. With the pif's command line as Q:\AREV account /X the data entry windows saves without error.