Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 04 JUL 2006 05:51:51AM Chang Lee Churn wrote:

Whenever I run a report program, the following message will appear.

"

'REP REP_NEW2_V1' Line 586. B28 Not enough string space - Out of Memory.

Line 1 'RTP18' broke because a run time error was encountered.

!

"

I will post the coding on the next message


At 04 JUL 2006 06:16AM Chang Lee Churn wrote:

DEF='

DEF=DATE:'*':(SHIFT:'/':GROUP):'*':WT_TYPE:'*':TMP_PT_KY1:'*':TMP_PT_KY2:'*':WT_BDL:'*':TMP_PT_KY3:'*':TMP_PT_KY4

KEY1 =DEF

MKEY1=KEY1 ←– This is Line 586


At 04 JUL 2006 06:28AM Chang Lee Churn wrote:

A Typical DEF sting will look like this:

14037*1/A*HY500*36*9.00*.791*11*5348582

Sorry, a brief introduction about this report program. This report program is called Daily Production Summary Report. It is used to generate summary is production of finished goods according to Grade of products, shift of work , group of staff working under that shift and so on and so forth.

This report problem will normally work when the records are less than 984 records. Anything more than that, it will pop out the error message in the 1st post.(according to my observation)

According to a colleague, the program is "perfect". It is just that I have to find ways to increase more memory for AREV program.

Currently, I have this program running under Windows NT, Windows 2000 and Windows XP.

I have tried disabling MSDEXNT in MSDOS shortcut I created in Windows XP and run in Windows 95 compatibility mode. Still no avail. Is there any other way to solve it?


At 04 JUL 2006 07:46AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

You'll need to enable expanded memory or recode the program to use less memory or swap to OpenInsight where this isn't an issue.

The Sprezzatura Group

World leaders in all things RevSoft


At 04 JUL 2006 07:50AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

You must ensure that you have Expanded Memory configured and selected. If you do a WHO in TCL you should see Expanded Memory as Active. Check the Memory Tab in your shortcut that you are setting EMS to 4096 and XMS to none and that Arev is started using the /M4096 switch. Set your default.pif to be the same.

A lot of hardware suppliers are not supporting Expanded Memory any longer. Search this forum for 'EMS' or 'expanded and memory' for more information.

The Sprezzatura Group

World leaders in all things RevSoft


At 04 JUL 2006 12:09PM Warren Auyong wrote:

Garbagecollect and flush statements can help a bit too, but the most important thing is to get EMS going.


At 05 JUL 2006 12:52AM Chang Lee Churn wrote:

I tried AREV.EXE BM1TAG /M4096 and i checked from WHO in TCL stating that my expanded memory is active.

Yet, I still run into the same error message. Is there anything else I can do?


At 05 JUL 2006 02:43AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

You seem to be missing the /X which tells AREV to use EMS for variables as well as programs. If it still fails it is then down to revisiting the program code with FLUSH and GARBAGECOLLECT and a lot more.

The Sprezzatura Group

World leaders in all things RevSoft


At 05 JUL 2006 02:59AM Chang Lee Churn wrote:

After I tried AREV.EXE bm1tag /M4096X , the report is generated properly without error message "Not enough string space - Out of Memory" message.

Thank you everyone for helping me on solving this problem.


At 05 JUL 2006 04:36AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Good to hear.

The Sprezzatura Group

World leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/2b7e55361c26812f852571a100362fac.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1